diff --git a/sdk/python/feast/feature_store.py b/sdk/python/feast/feature_store.py index afac34b665..fdf102f31d 100644 --- a/sdk/python/feast/feature_store.py +++ b/sdk/python/feast/feature_store.py @@ -930,7 +930,10 @@ def apply( views_to_delete = [ ob for ob in objects_to_delete - if isinstance(ob, FeatureView) or isinstance(ob, BatchFeatureView) + if ( + (isinstance(ob, FeatureView) or isinstance(ob, BatchFeatureView)) + and not isinstance(ob, StreamFeatureView) + ) ] request_views_to_delete = [ ob for ob in objects_to_delete if isinstance(ob, RequestFeatureView)