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.
Fields and class attributes
Section titled “Fields and class attributes”id: str
profile: DocumentProfile
document_class: str
byte_len: int