diff --git a/sdk/python/feast/repo_operations.py b/sdk/python/feast/repo_operations.py index c0f28a74bd..37daa6500e 100644 --- a/sdk/python/feast/repo_operations.py +++ b/sdk/python/feast/repo_operations.py @@ -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 (