Slackbot
02/21/2024, 6:26 AMStefan Krawczyk
02/21/2024, 6:41 AMStefan Krawczyk
02/21/2024, 6:58 AMAmos
02/21/2024, 8:38 AMStefan Krawczyk
02/21/2024, 3:22 PMStefan Krawczyk
02/21/2024, 3:24 PMAmos
02/22/2024, 2:30 AMFile "…python3.10/site-packages/hamilton/experimental/h_async.py", line 74, in execute_node
task = asyncio.create_task(coroutine)
File "/usr/lib/python3.10/asyncio/tasks.py", line 336, in create_task
loop = events.get_running_loop()
RuntimeError: no running event loop
ERROR hamilton.experimental.h_async:h_async.py:171 -------------------------------------------------------------------
Amos
02/22/2024, 2:32 AMmodel = pipeline(pipeline_type, model=model_name)
Amos
02/22/2024, 2:54 AMStefan Krawczyk
02/22/2024, 3:14 AM@pytest.mark.asyncio
… otherwise yeah that stack trace is saying it’s not being run with an event loopAmos
02/22/2024, 3:20 AMasyncio
mark for an anyio
mark and forgot to check if it broke anything.