ComponentConfig
- class app.components.component.component_config.ComponentConfig[source]
Bases:
BaseConfigModel
Inheritance Diagram for ComponentConfig
Methods
create_component
(*args, **kwargs)get_component_class_for_package
(package)model_post_init
(context)Attributes
Configuration for the model, should be a dictionary conforming to
ConfigDict
.inherited
defaulted
instance_name
instance_parent_weakref
- create_component(*args, **kwargs) ComponentMeta [source]
- Return type:
- classmethod get_component_class_for_package(package: str) type[ComponentMeta] [source]
- Parameters:
package (str)
- Return type:
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True, 'serialize_by_alias': True, 'validate_assignment': True, 'validate_by_alias': True}
Configuration for the model, should be a dictionary conforming to
ConfigDict
.