Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ include_if
Method
include_if
celery/worker/components.py:65–66 ·
view source on GitHub ↗
(self, w)
Source
from the content-addressed store, hash-verified
63
super().__init__(w, **kwargs)
64
65
def
include_if(self, w):
66
return
w.use_eventloop
67
68
def
create(self, w):
69
w.hub = get_event_loop()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected