Skip to content
YosoiDocs

DocumentMetadata

yosoi.request.DocumentMetadata

class DocumentMetadata(ImmutableModel):

Source document identity, representation, and byte accounting.

Attributes: id: Identity allocated to the document, not its source URL. profile: Declared representation profile used to interpret retained bytes. document_class: Native document capability class. byte_len: Number of bytes in the retained document payload.

Source: python/yosoi/request.py:78

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

id: str
profile: DocumentProfile
document_class: str
byte_len: int