Annotation
- class app.portfolio.models.annotation.annotation.Annotation[source]
Bases:
EmptyClass,Entity[TypeVar, TypeVar],Generic
Inheritance Diagram for Annotation
Methods
create(entity_or_uid, /, **kwargs)model_post_init(context)Attributes
Configuration for the model, should be a dictionary conforming to
ConfigDict.instance_nameuidentity_logentity_dependentsinstance_parent_weakref- classmethod create(entity_or_uid: Entity | EntityRecord | Uid, /, **kwargs) T[source]
- Parameters:
entity_or_uid (Entity | EntityRecord | Uid)
- Return type:
T
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'frozen': True, 'serialize_by_alias': True, 'validate_assignment': True, 'validate_by_alias': True}
Configuration for the model, should be a dictionary conforming to
ConfigDict.