core.model.plugin#
Plugin
Module Contents#
Classes#
Plugin base class. |
API#
- class core.model.plugin.Plugin(logger: logging.Logger)#
Bases:
abc.ABCPlugin base class.
Except for a few Plugin-specific attributes, Plugin is intended to be _stateless_. Do not confuse with data that belongs in a Context.
Initialization
- name: str = None#
- is_flat: bool = False#
- abstract hydrate(context: core.model.context.Context) core.model.context.Context#
- add_result(name: str, value: polyconf.core.typing_.PrimitiveType | core.model.datum.Datum, context: core.model.context.Context, source: str = '') None#
- expand_implicit_nesting(name: str, value: polyconf.core.typing_.PrimitiveType) tuple[str, polyconf.core.typing_.PrimitiveType]#