ComponentConfig

class app.components.component.component_config.ComponentConfig[source]

Bases: BaseConfigModel

Inheritance diagram of ComponentConfig

Inheritance Diagram for ComponentConfig

Methods

create_component(*args, **kwargs)

get_component_class_for_package(package)

model_post_init(context)

package_root()

Attributes

model_config

Configuration for the model, should be a dictionary conforming to ConfigDict.

title

package

inherited

defaulted

instance_name

instance_parent_weakref

component_class

alias of Component

create_component(*args, **kwargs) ComponentMeta[source]
Return type:

ComponentMeta

classmethod get_component_class_for_package(package: str) type[ComponentMeta][source]
Parameters:

package (str)

Return type:

type[ComponentMeta]

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.

model_post_init(context: Any) None
Parameters:

context (Any)

Return type:

None

package: str
package_root() str[source]
Return type:

str

property title: str