(self, func)
| 1389 | |
| 1390 | |
| 1391 | def __call__(self, func): |
| 1392 | if isinstance(func, type): |
| 1393 | return self.decorate_class(func) |
| 1394 | if inspect.iscoroutinefunction(func): |
| 1395 | return self.decorate_async_callable(func) |
| 1396 | return self.decorate_callable(func) |
| 1397 | |
| 1398 | |
| 1399 | def decorate_class(self, klass): |
nothing calls this directly
no test coverage detected