MCPcopy
hub / github.com/celery/celery / banner

Method banner

celery/apps/beat.py:120–127  ·  view source on GitHub ↗
(self, service: beat.Service)

Source from the content-addressed store, hash-verified

118 raise
119
120 def banner(self, service: beat.Service) -> str:
121 c = self.colored
122 return str(
123 c.blue('__ ', c.magenta('-'),
124 c.blue(' ... __ '), c.magenta('-'),
125 c.blue(' _\n'),
126 c.reset(self.startup_info(service))),
127 )
128
129 def init_loader(self) -> None:
130 # Run the worker init handler.

Callers 1

start_schedulerMethod · 0.95

Calls 4

startup_infoMethod · 0.95
blueMethod · 0.80
magentaMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected