MCPcopy
hub / github.com/celery/celery / start

Method start

celery/bootsteps.py:109–117  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

107 self.steps = {}
108
109 def start(self, parent):
110 self.state = RUN
111 if self.on_start:
112 self.on_start()
113 for i, step in enumerate(s for s in parent.steps if s is not None):
114 self._debug('Starting %s', step.alias)
115 self.started = i + 1
116 step.start(parent)
117 logger.debug('^-- substep ok')
118
119 def human_state(self):
120 return self.state_to_name[self.state or 0]

Callers 1

startMethod · 0.45

Calls 2

_debugMethod · 0.95
on_startMethod · 0.45

Tested by

no test coverage detected