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

Function create

tests/conftest.py:97–102  ·  view source on GitHub ↗
(functions=[], burst=True, poll_delay=0, max_jobs=10, arq_redis=arq_redis, **kwargs)

Source from the content-addressed store, hash-verified

95 worker_: Worker = None
96
97 def create(functions=[], burst=True, poll_delay=0, max_jobs=10, arq_redis=arq_redis, **kwargs):
98 nonlocal worker_
99 worker_ = Worker(
100 functions=functions, redis_pool=arq_redis, burst=burst, poll_delay=poll_delay, max_jobs=max_jobs, **kwargs
101 )
102 return worker_
103
104 yield create
105

Callers

nothing calls this directly

Calls 1

WorkerClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…