(self, feature_view)
| 1167 | return table |
| 1168 | |
| 1169 | def _infer_fv_classes(self, feature_view): |
| 1170 | if isinstance(feature_view, LabelView): |
| 1171 | python_class, proto_class = LabelView, LabelViewProto |
| 1172 | elif isinstance(feature_view, StreamFeatureView): |
| 1173 | python_class, proto_class = StreamFeatureView, StreamFeatureViewProto |
| 1174 | elif isinstance(feature_view, FeatureView): |
| 1175 | python_class, proto_class = FeatureView, FeatureViewProto |
| 1176 | elif isinstance(feature_view, OnDemandFeatureView): |
| 1177 | python_class, proto_class = OnDemandFeatureView, OnDemandFeatureViewProto |
| 1178 | else: |
| 1179 | raise ValueError(f"Unexpected feature view type: {type(feature_view)}") |
| 1180 | return python_class, proto_class |
| 1181 | |
| 1182 | def _infer_fv_type_string(self, feature_view) -> str: |
| 1183 | from feast.labeling.label_view import LabelView |
no outgoing calls
no test coverage detected