Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
86
def
set_default_app(app):
87
""
"Set default app."
""
88
global default_app
89
default_app = app
90
91
92
def
_get_current_app():
Callers
5
setup_session
Function · 0.90
set_default
Method · 0.90
process_initializer
Function · 0.90
thread_worker
Method · 0.85
_get_current_app
Function · 0.85
Calls
no outgoing calls
Tested by
2
setup_session
Function · 0.72
thread_worker
Method · 0.68