(cls, other)
| 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 | |
| 29 | class CallableTask(_AbstractClass, Callable): # pragma: no cover |