Skip to main content

module version_mixin

Mixin class containing entity versioning specific methods To be used by OpenMetadata

class OMetaVersionMixin

OpenMetadata API methods related to entity versioning. To be inherited by OpenMetadata

method get_entity_version

Get an entity at a specific version Parameters ---------- entity: T the entity type entity_id: Union[str, basic.Uuid] the ID for a specific entity version: Union[str, float] the specific version of the entity fields: List List of fields to return

method get_list_entity_versions

Retrieve the list of versions for a specific entity Parameters ---------- entity: T the entity type entity_id: Union[str, basic.Uuid] the ID for a specific entity Returns ------- List lists of available versions for a specific entity

method version_to_str

convert float version to str Parameters ---------- version : Union[str, float] the version number of the entity Returns ------- str the string representation of the version