Returns a dict mapping prefix strings to Query subclasses all loaded plugins.
()
| 491 | |
| 492 | |
| 493 | def queries() -> dict[str, type[Query]]: |
| 494 | """Returns a dict mapping prefix strings to Query subclasses all loaded |
| 495 | plugins. |
| 496 | """ |
| 497 | out: dict[str, type[Query]] = {} |
| 498 | for plugin in find_plugins(): |
| 499 | out.update(plugin.queries()) |
| 500 | return out |
| 501 | |
| 502 | |
| 503 | def types(model_cls: type[AnyModel]) -> dict[str, Type]: |
nothing calls this directly
no test coverage detected