Skip to content

Commit

Permalink
simpify
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Apr 12, 2022
1 parent d4b8ca2 commit cb5b31b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sdk/python/feast/feature_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,6 @@ def _initialize_sources(self, name, batch_source, stream_source, source):
DeprecationWarning,
)
if stream_source is not None and isinstance(stream_source, PushSource):
if stream_source.batch_source is None or not isinstance(
stream_source.batch_source, DataSource
):
raise ValueError(
f"A batch_source needs to be specified for feature view `{name}`"
)
self.stream_source = stream_source
self.batch_source = stream_source.batch_source
else:
Expand Down

0 comments on commit cb5b31b

Please sign in to comment.