Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Zhang <[email protected]>
  • Loading branch information
kevjumba committed Jun 2, 2022
1 parent 24f5ae7 commit a2a67a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sdk/python/feast/repo_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,8 @@ def parse_repo(repo_root: Path) -> RepoContents:
# Don't add if the push source's batch source is a duplicate of an existing batch source
if push_source_dep not in data_sources_set:
res.data_sources.append(push_source_dep)
elif (
isinstance(obj, StreamFeatureView)
and not any((obj is sfv) for sfv in res.stream_feature_views)
elif isinstance(obj, StreamFeatureView) and not any(
(obj is sfv) for sfv in res.stream_feature_views
):
res.stream_feature_views.append(obj)
if (
Expand Down

0 comments on commit a2a67a0

Please sign in to comment.