MCPcopy
hub / github.com/celery/celery / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

931 implements_incr = False
932
933 def __init__(self, *args, **kwargs):
934 if hasattr(self.key_t, '__func__'): # pragma: no cover
935 self.key_t = self.key_t.__func__ # remove binding
936 super().__init__(*args, **kwargs)
937 self._add_global_keyprefix()
938 self._encode_prefixes()
939 if self.implements_incr:
940 self.apply_chord = self._apply_chord_incr
941
942 def _add_global_keyprefix(self):
943 """

Callers

nothing calls this directly

Calls 3

_add_global_keyprefixMethod · 0.95
_encode_prefixesMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected