[flytekit] Add support for async workflows #6051
Labels
backlogged
For internal use. Reserved for contributor team workflow.
enhancement
New feature or request
Epic: Async Flytekit
Enable asynchronous behavior in flytekit
Background
The new version of the eager task attempts to be more pythonic in its handling of async function definitions. This means however that eager tasks, which are
async
functions, cannot be called within a normal workflow (@workflow
). This is an okay limitation for the first draft of the new eager functionality, but we should fix it.Goal
Not sure what the goal should look like, except that eager tasks should be callable within workflows. More thought should be given on how to do this.
Maybe we have async workflow functions
Or maybe we keep workflows static, something like
In the latter case, how does using
asyncio.run
(which users will inevitably use) interfere with the loop manager inasyn.py
?cc @cosmicBboy @thomasjpfan @eapolinario
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: