Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ foo
Method
foo
t/unit/tasks/test_trace.py:1502–1505 ·
view source on GitHub ↗
(self, i)
Source
from the content-addressed store, hash-verified
1500
1501
@self.app.task(shared=False, bind=True)
1502
def
foo(self, i):
1503
if
i:
1504
return
foo(0)
1505
return
self.request
1506
1507
assert foo(1).called_directly
1508
finally:
Callers
nothing calls this directly
Calls
1
apply
Method · 0.45
Tested by
no test coverage detected