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

Function run_worker

arq/worker.py:897–900  ·  view source on GitHub ↗
(settings_cls: 'WorkerSettingsType', **kwargs: Any)

Source from the content-addressed store, hash-verified

895
896
897def run_worker(settings_cls: 'WorkerSettingsType', **kwargs: Any) -> Worker:
898 worker = create_worker(settings_cls, **kwargs)
899 worker.run()
900 return worker
901
902
903async def async_check_health(

Callers 2

test_no_jobsFunction · 0.90
cliFunction · 0.85

Calls 2

create_workerFunction · 0.85
runMethod · 0.80

Tested by 1

test_no_jobsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…