Skip to content

Commit d1b56b6

Browse files
author
Bhargav Dodla
committed
fix: Default to pandas mode if not specified in ODFV proto in database
Signed-off-by: Bhargav Dodla <bdodla@expediagroup.com>
1 parent 160cd36 commit d1b56b6

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)