Skip to content

Commit

Permalink
silence feature assignment type warning
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Howley <howley.robert@gmail.com>
  • Loading branch information
robhowley committed Oct 30, 2024
1 parent b7cedb7 commit 10de18a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/python/feast/feature_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ async def get_online_features(request: GetOnlineFeaturesRequest):
assert_permissions(
resource=feature_service, actions=[AuthzedAction.READ_ONLINE]
)
features = request.feature_service # type: ignore
else:
all_feature_views, all_on_demand_feature_views = (
utils._get_feature_views_to_use(
Expand All @@ -145,9 +146,10 @@ async def get_online_features(request: GetOnlineFeaturesRequest):
assert_permissions(
resource=od_feature_view, actions=[AuthzedAction.READ_ONLINE]
)
features = request.features # type: ignore

read_params = dict(
features=request.feature_service,
features=features,
entity_rows=request.entities,
full_feature_names=request.full_feature_names,
)
Expand Down

0 comments on commit 10de18a

Please sign in to comment.