From d1b56b661557be982e865647c0c00b66fde143b6 Mon Sep 17 00:00:00 2001 From: Bhargav Dodla Date: Sat, 17 Aug 2024 08:54:20 -0700 Subject: [PATCH] fix: Default to pandas mode if not specified in ODFV proto in database Signed-off-by: Bhargav Dodla --- sdk/python/feast/on_demand_feature_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/feast/on_demand_feature_view.py b/sdk/python/feast/on_demand_feature_view.py index aeb1cc207a..47fcf29926 100644 --- a/sdk/python/feast/on_demand_feature_view.py +++ b/sdk/python/feast/on_demand_feature_view.py @@ -346,7 +346,7 @@ def from_proto( ], sources=sources, feature_transformation=transformation, - mode=on_demand_feature_view_proto.spec.mode, + mode=on_demand_feature_view_proto.spec.mode or "pandas", description=on_demand_feature_view_proto.spec.description, tags=dict(on_demand_feature_view_proto.spec.tags), owner=on_demand_feature_view_proto.spec.owner,