MCPcopy Create free account
hub / github.com/celery/celery / active

Function active

celery/worker/control.py:469–472  ·  view source on GitHub ↗

List of tasks currently being executed.

(state, safe=False, **kwargs)

Source from the content-addressed store, hash-verified

467
468@inspect_command(alias='dump_active')
469def active(state, safe=False, **kwargs):
470 """List of tasks currently being executed."""
471 return [request.info(safe=safe)
472 for request in state.tset(worker_state.active_requests)]
473
474
475@inspect_command(alias='dump_revoked')

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected