MCPcopy Create free account
hub / github.com/python-arq/arq / sync_task

Function sync_task

docs/examples/sync_job.py:6–7  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

4from concurrent import futures
5
6def sync_task(t):
7 return time.sleep(t)
8
9async def the_task(ctx, t):
10 blocking = functools.partial(sync_task, t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…