diff --git a/sdk/python/feast/on_demand_feature_view.py b/sdk/python/feast/on_demand_feature_view.py index c89d122dde..cb766623a6 100644 --- a/sdk/python/feast/on_demand_feature_view.py +++ b/sdk/python/feast/on_demand_feature_view.py @@ -215,7 +215,8 @@ def infer_features(self): if self.features: missing_features = [] - for specified_features in self.features: + delabeled_features = [Feature(name=f.name, dtype=f.dtype) for f in self.features] + for specified_features in delabeled_features: if specified_features not in inferred_features: missing_features.append(specified_features) if missing_features: