Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eager: make sure client secret can be specified as env var #2720

Merged
merged 14 commits into from
Sep 5, 2024
Next Next commit
fix eager mode
Signed-off-by: Niels Bantilan <[email protected]>
cosmicBboy committed Aug 29, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
splattner Sebastian Plattner
commit 9b65742876825d5a4c7778f43d90616627badbec
3 changes: 3 additions & 0 deletions flytekit/bin/entrypoint.py
Original file line number Diff line number Diff line change
@@ -108,6 +108,9 @@ def _dispatch_execute(
# Handle eager-mode (async) tasks
logger.info("Output is a coroutine")
outputs = asyncio.run(outputs)
# make sure an event loop exists for data persistence step
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)

# Step3a
if isinstance(outputs, VoidPromise):