HierarchicalNamedModel

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

Bases: HierarchicalModel, NamedMixinMinimal

Inheritance diagram of HierarchicalNamedModel

Inheritance Diagram for HierarchicalNamedModel

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

instance_parent_weakref

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