Visitar URL original
perf: Implement dynamo write_batch_async by robhowley · Pull Request #4675 · 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
test client is a lifespan aware context manager
Signed-off-by: Rob Howley <howley.robert@gmail.com>
  • Loading branch information
robhowley committed Oct 24, 2024
commit 385e3eabb16fe92caaae92f72f18160435470f96
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import asyncio
import json
from typing import List

Expand Down Expand Up @@ -136,6 +135,5 @@ def python_fs_client(environment, universal_data_sources, request):
feast_objects.extend([driver(), customer(), location()])
fs.apply(feast_objects)
fs.materialize(environment.start_date, environment.end_date)
asyncio.get_event_loop().run_until_complete(fs.initialize())
client = TestClient(get_app(fs))
yield client
with TestClient(get_app(fs)) as client:
yield client