Visitar URL original
perf: Make /push async by robhowley · Pull Request #4650 · feast-dev/feast · GitHub
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
clean up
Signed-off-by: Rob Howley <howley.robert@gmail.com>
  • Loading branch information
robhowley committed Oct 18, 2024
commit 205046ce1cedb277eb488dd0b2380b35494cc673
1 change: 0 additions & 1 deletion sdk/python/feast/feature_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ async def push(body=Depends(get_body)):
and to in [PushMode.ONLINE, PushMode.ONLINE_AND_OFFLINE]
)
if should_push_async:
print("im in async?")
await store.push_async(**push_params)
else:
store.push(**push_params)
Comment on lines +211 to +218

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if async writes to the online store are supported and the post body indicates that data will be written to the online store, then attempt an async storep.push

Expand Down