Skip to content

Commit d235832

Browse files
authored
fix: Default to pandas mode if not specified in ODFV proto in database (feast-dev#4420)
1 parent 09b026b commit d235832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/feast/on_demand_feature_view.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def from_proto(
346346
],
347347
sources=sources,
348348
feature_transformation=transformation,
349-
mode=on_demand_feature_view_proto.spec.mode,
349+
mode=on_demand_feature_view_proto.spec.mode or "pandas",
350350
description=on_demand_feature_view_proto.spec.description,
351351
tags=dict(on_demand_feature_view_proto.spec.tags),
352352
owner=on_demand_feature_view_proto.spec.owner,

0 commit comments

Comments
 (0)