Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
make feature store features available in realtime feature computation
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Sep 17, 2023
1 parent 91ddb8e commit 74510f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wyvern/components/features/feature_retrieval_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from ddtrace import tracer
from pydantic.generics import GenericModel

from wyvern import request_context
from wyvern.components.component import Component
from wyvern.components.features.feature_logger import (
FeatureEventLoggingComponent,
Expand Down Expand Up @@ -156,6 +157,8 @@ async def execute(
**kwargs,
)
)
current_request = request_context.ensure_current_request()
current_request.feature_map = feature_retrieval_response

"""
TODO (suchintan):
Expand Down

0 comments on commit 74510f1

Please sign in to comment.