Skip to content

TaskDocument

Source code in docs_src/capo_context/types/task_document.py
class TaskDocument(TypedDict, closed=True):
    name: "capo_context.types.document_name.DocumentName"
    """<p>The name of the document, as given in the StartTask request.</p>"""
    size_bytes: "int"
    """<p>The size of the document's content, in bytes.</p>"""
    content_type: "capo_context.types.document_content_type.DocumentContentType"
    """<p>The content type of the document, as declared in the StartTask request.</p>"""

content_type instance-attribute

content_type: DocumentContentType

The content type of the document, as declared in the StartTask request.

name instance-attribute

The name of the document, as given in the StartTask request.

size_bytes instance-attribute

size_bytes: int

The size of the document's content, in bytes.