Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ get_current_task
Function
get_current_task
celery/_state.py:121–123 ·
view source on GitHub ↗
Currently executing task.
()
Source
from the content-addressed store, hash-verified
119
120
121
def
get_current_task():
122
""
"Currently executing task."
""
123
return
_task_stack.top
124
125
126
def
get_current_worker_task():
Callers
2
current_task_children
Method · 0.90
format
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected