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

Method register

celery/utils/abstract.py:23–26  ·  view source on GitHub ↗
(cls, other)

Source from the content-addressed store, hash-verified

21
22 @classmethod
23 def register(cls, other):
24 # we override `register` to return other for use as a decorator.
25 type(cls).register(cls, other)
26 return other
27
28
29class CallableTask(_AbstractClass, Callable): # pragma: no cover

Callers 1

collections.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected