Skip to content

Commit 60b1e33

Browse files
committed
reorganize priorities
1 parent f9e0de0 commit 60b1e33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk/python/feast/feature_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,20 +348,20 @@ async def _get_feast_object(
348348
# in logging, in server and in feature_store (Python SDK)
349349
try:
350350
return await run_in_threadpool(
351-
store.get_stream_feature_view,
351+
store.get_feature_view,
352352
feature_view_name,
353353
allow_registry_cache=allow_registry_cache,
354354
)
355355
except FeatureViewNotFoundException:
356356
try:
357357
return await run_in_threadpool(
358-
store.get_feature_view,
358+
store.get_on_demand_feature_view,
359359
feature_view_name,
360360
allow_registry_cache=allow_registry_cache,
361361
)
362362
except FeatureViewNotFoundException:
363363
return await run_in_threadpool(
364-
store.get_on_demand_feature_view,
364+
store.get_stream_feature_view,
365365
feature_view_name,
366366
allow_registry_cache=allow_registry_cache,
367367
)

0 commit comments

Comments
 (0)