betty.plugin.static module¶
Provide static plugin management.
- final class betty.plugin.static.StaticPluginRepository[source]¶
Bases:
PluginRepository[_PluginT],Generic[_PluginT]A repository that is given a static collection of plugins, and exposes those.
- async get(plugin_id: str) type[_PluginT][source]¶
Get a single plugin by its ID.
- Raises:
PluginNotFound – if no plugin can be found for the given ID.