Get a plugin by name. This automatically initializes the registry from settings if needed.
(name: str)
| 165 | |
| 166 | |
| 167 | def get_plugin(name: str) -> Any | None: |
| 168 | """Get a plugin by name. |
| 169 | |
| 170 | This automatically initializes the registry from settings if needed. |
| 171 | """ |
| 172 | _workers_plugin_registry.initialize_from_settings() |
| 173 | return _workers_plugin_registry.get_plugin(name) |
| 174 | |
| 175 | |
| 176 | def list_available_plugins() -> list[dict[str, Any]]: |
no test coverage detected