betty.plugin.lazy module¶
Lazily load plugins.
- class betty.plugin.lazy.LazyPluginRepositoryBase[source]¶
Bases:
PluginRepository
[_PluginT
],Generic
[_PluginT
]Lazily load plugins.
- 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.