diff --git a/sdk/python/feast/feature_view_projection.py b/sdk/python/feast/feature_view_projection.py index e7ed9e3aa6..70415e9ed3 100644 --- a/sdk/python/feast/feature_view_projection.py +++ b/sdk/python/feast/feature_view_projection.py @@ -112,6 +112,13 @@ def from_feature_view_definition(feature_view: "FeatureView"): or None, batch_source=feature_view.batch_source or None, ) + else: + return FeatureViewProjection( + name=feature_view.name, + name_alias=None, + features=feature_view.features, + desired_features=[], + ) @staticmethod def from_definition(base_feature_view: "BaseFeatureView"):