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

Method __init__

celery/backends/base.py:1180–1188  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1178 implements_incr = False
1179
1180 def __init__(self, *args, **kwargs):
1181 if hasattr(self.key_t, '__func__'): # pragma: no cover
1182 self.key_t = self.key_t.__func__ # remove binding
1183 super().__init__(*args, **kwargs)
1184 self._chord_expires = self.app.conf.get('result_chord_expires')
1185 self._add_global_keyprefix()
1186 self._encode_prefixes()
1187 if self.implements_incr:
1188 self.apply_chord = self._apply_chord_incr
1189
1190 @property
1191 def chord_expires(self):

Callers

nothing calls this directly

Calls 4

_add_global_keyprefixMethod · 0.95
_encode_prefixesMethod · 0.95
__init__Method · 0.45
getMethod · 0.45

Tested by

no test coverage detected