Descriptor#
- class Descriptor#
Descriptor of a blob stored in the local registry.
PyDescriptorintentionally does not carry aLocalRegistryHandle. It is a lightweight descriptor view returned by registry-owningArtifactobjects. The blob can only be read by passing this value back to one of those owner objects, whose handle keeps temporary registries alive. If a descriptor outlives every owner of its temporary registry, it is just inert metadata and cannot be used to access bytes.- __str__() str#
- to_dict() dict#
- to_json() str#
- property annotations: dict[str, str]#
Read-only property.
- property digest: str#
Read-only property.
- property media_type: str#
Read-only property.
- property size: int#
Read-only property.
- property user_annotations: dict[str, str]#
Read-only property.
Return annotations with key prefix "org.ommx.user."