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

Method __init__

celery/beat.py:1110–1115  ·  view source on GitHub ↗
(self, app, **kwargs)

Source from the content-addressed store, hash-verified

1108 """Embedded task scheduler using threading."""
1109
1110 def __init__(self, app, **kwargs):
1111 super().__init__()
1112 self.app = app
1113 self.service = Service(app, **kwargs)
1114 self.daemon = True
1115 self.name = 'Beat'
1116
1117 def run(self):
1118 self.app.set_current()

Callers

nothing calls this directly

Calls 2

ServiceClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected