Skip to content

Metadata

Metadata class to store meta information of a record

amsdal_utils.models.data_models.metadata.Metadata

Bases: BaseModel

is_latest property

is_latest

Flag to indicate if the object/record is the latest version.

Returns: bool: True if the object/record is the latest version, False otherwise.

reference_to property

reference_to

The list of references to other objects/records.

In sync runtime returns a list[Reference]; in async runtime returns an awaitable[list[Reference]] that must be awaited.

referenced_by property

referenced_by

The list of references from other objects/records.

In sync runtime returns a list[Reference]; in async runtime returns an awaitable[list[Reference]] that must be awaited.