HierarchicalRootNamedModel

class app.util.models.combined.HierarchicalRootNamedModel[source]

Bases: HierarchicalRootModel, NamedMixinMinimal

Inheritance diagram of HierarchicalRootNamedModel

Inheritance Diagram for HierarchicalRootNamedModel

Methods

model_post_init(context)

Attributes

PROPAGATE_INSTANCE_NAME_FROM_PARENT

PROPAGATE_INSTANCE_NAME_TO_CHILDREN

model_config

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

instance_name

PROPAGATE_INSTANCE_NAME_FROM_PARENT: ClassVar[bool] = True
PROPAGATE_INSTANCE_NAME_TO_CHILDREN: ClassVar[bool] = True
instance_name: str | None
model_config: ClassVar[ConfigDict] = {'extra': 'forbid', '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