Skip to content

Commit 7606481

Browse files
updated sfv ifelse
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 01770e2 commit 7606481

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sdk/python/feast/feature_store.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,8 +888,9 @@ def apply(
888888
):
889889
if isinstance(fv, FeatureView):
890890
data_sources_set_to_update.add(fv.batch_source)
891-
if fv.stream_source:
892-
data_sources_set_to_update.add(fv.stream_source)
891+
if hasattr(fv, 'stream_source'):
892+
if fv.stream_source:
893+
data_sources_set_to_update.add(fv.stream_source)
893894
if isinstance(fv, OnDemandFeatureView):
894895
for source_fvp in fv.source_feature_view_projections:
895896
odfv_batch_source: Optional[DataSource] = (

0 commit comments

Comments
 (0)