MCPcopy Create free account
hub / github.com/celery/celery / __init__

Method __init__

celery/worker/components.py:211–214  ·  view source on GitHub ↗
(self, w, **kwargs)

Source from the content-addressed store, hash-verified

209 """Bootstep that sets up between-restart state database file."""
210
211 def __init__(self, w, **kwargs):
212 self.enabled = w.statedb
213 w._persistence = None
214 super().__init__(w, **kwargs)
215
216 def create(self, w):
217 w._persistence = w.state.Persistent(w.state, w.statedb, w.app.clock)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected