MCPcopy
hub / github.com/celery/celery / set_default_app

Function set_default_app

celery/_state.py:86–89  ·  view source on GitHub ↗

Set default app.

(app)

Source from the content-addressed store, hash-verified

84
85
86def set_default_app(app):
87 """Set default app."""
88 global default_app
89 default_app = app
90
91
92def _get_current_app():

Callers 5

setup_sessionFunction · 0.90
set_defaultMethod · 0.90
process_initializerFunction · 0.90
thread_workerMethod · 0.85
_get_current_appFunction · 0.85

Calls

no outgoing calls

Tested by 2

setup_sessionFunction · 0.72
thread_workerMethod · 0.68