Rachid Cherqaoui
07/19/2023, 1:23 PMkedro run --async
, it takes less time (significant) compared to when I use the KedroSession.create().run()
with FastAPI (knowing that in my post function I made the async def
) my question is how can I use the async
argument with kedrSession
that it is at the level of hooks
or otherwise, thank you in advance.Deepyaman Datta
07/19/2023, 1:24 PMasync
something you can pass to run
? I'll look it up, maybe it's on Runner.Rachid Cherqaoui
07/19/2023, 1:25 PMDeepyaman Datta
07/19/2023, 1:30 PMkedro run --async
taking less than KedroSession.create().run()
, you can pass a runner object to run()
, and that can have the is_async=True
set. See https://github.com/kedro-org/kedro/blob/0.18.11/kedro/framework/cli/project.py#L461.async def
in Python has no direct relation to is_async
for runners.Rachid Cherqaoui
07/19/2023, 1:33 PM