add default timeout to wait_for_task (#1122)
This commit is contained in:
5
skyvern/forge/sdk/core/asyncio_helper.py
Normal file
5
skyvern/forge/sdk/core/asyncio_helper.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import asyncio
|
||||
|
||||
|
||||
def is_aio_task_running(aio_task: asyncio.Task) -> bool:
|
||||
return not aio_task.done() and not aio_task.cancelled()
|
||||
Reference in New Issue
Block a user