()
| 76 | |
| 77 | |
| 78 | def get_async_methods() -> set[str]: |
| 79 | result: set[str] = set() |
| 80 | for x in async_classes: |
| 81 | methods = { |
| 82 | k |
| 83 | for k, v in vars(x).items() |
| 84 | if callable(v) |
| 85 | and not isinstance(v, classmethod) |
| 86 | and inspect.iscoroutinefunction(v) |
| 87 | and v.__name__[0] != "_" |
| 88 | } |
| 89 | result = result | methods |
| 90 | return result |
| 91 | |
| 92 | |
| 93 | async_methods = get_async_methods() |
no test coverage detected