Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: leave comment in path operation
Signed-off-by: Rob Howley <howley.robert@gmail.com>
  • Loading branch information
robhowley committed Jan 3, 2025
commit 9d87ff0de3f1a58caadfb48e4e8661fae2793971
2 changes: 1 addition & 1 deletion sdk/python/feast/feature_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class GetOnlineFeaturesRequest(BaseModel):
def _get_features(
request: GetOnlineFeaturesRequest, store: "feast.FeatureStore"
) -> list[str] | FeatureService:
# Initialize parameters for FeatureStore.get_online_features(...) call
if request.feature_service:
feature_service = store.get_feature_service(
request.feature_service, allow_cache=True
Expand Down Expand Up @@ -154,6 +153,7 @@ async def lifespan(app: FastAPI):
dependencies=[Depends(inject_user_details)],
)
async def get_online_features(request: GetOnlineFeaturesRequest) -> Dict[str, Any]:
# Initialize parameters for FeatureStore.get_online_features(...) call
features = await run_in_threadpool(_get_features, request, store)

read_params = dict(
Expand Down