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

Method __init__

celery/utils/threads.py:102–107  ·  view source on GitHub ↗
(self, name=None, **kwargs)

Source from the content-addressed store, hash-verified

100 """Background service thread."""
101
102 def __init__(self, name=None, **kwargs):
103 super().__init__()
104 self.__is_shutdown = threading.Event()
105 self.__is_stopped = threading.Event()
106 self.daemon = True
107 self.name = name or self.__class__.__name__
108
109 def body(self):
110 raise NotImplementedError()

Callers

nothing calls this directly

Calls 2

EventMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected