Skip to content

Commit 24f5ae7

Browse files
committed
Fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
1 parent 710169d commit 24f5ae7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sdk/python/feast/repo_operations.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ def parse_repo(repo_root: Path) -> RepoContents:
138138
# Don't add if the push source's batch source is a duplicate of an existing batch source
139139
if push_source_dep not in data_sources_set:
140140
res.data_sources.append(push_source_dep)
141-
elif isinstance(obj, StreamFeatureView):
141+
elif (
142+
isinstance(obj, StreamFeatureView)
143+
and not any((obj is sfv) for sfv in res.stream_feature_views)
144+
):
142145
res.stream_feature_views.append(obj)
143146
if (
144147
isinstance(obj.stream_source, PushSource)

0 commit comments

Comments
 (0)