(self, func)
| 1382 | |
| 1383 | |
| 1384 | def __call__(self, func): |
| 1385 | if isinstance(func, type): |
| 1386 | return self.decorate_class(func) |
| 1387 | if inspect.iscoroutinefunction(func): |
| 1388 | return self.decorate_async_callable(func) |
| 1389 | return self.decorate_callable(func) |
| 1390 | |
| 1391 | |
| 1392 | def decorate_class(self, klass): |
nothing calls this directly
no test coverage detected