Skip to content

GetCodeIssueArtifactOutput

Source code in docs_src/capo_continuum/types/get_code_issue_artifact_output.py
class GetCodeIssueArtifactOutput(TypedDict, closed=True):
    artifact_id: "capo_continuum.types.issue_artifact_id.IssueArtifactId"
    """The unique identifier of the artifact."""
    artifact_type: "capo_continuum.types.issue_artifact_type.IssueArtifactType"
    """Semantic category of the artifact."""
    media_type: "capo_continuum.types.issue_artifact_media_type.IssueArtifactMediaType"
    """MIME type the producer declared for its content."""
    body: "capo_continuum.types.issue_artifact_body.IssueArtifactBody"
    """The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else through `IssueArtifactBody.raw`."""
    metadata: NotRequired["object"]
    """Producer-defined structured metadata, when the producer supplied any. Returned only for an artifactType whose content has no defined shape, so that the artifact stays inspectable. For an artifactType with a defined shape, `body` carries the content and this member is omitted."""
    producer: "capo_continuum.types.issue_artifact_producer_summary.IssueArtifactProducerSummary"
    """The agent that produced the artifact."""
    created_at: "datetime.datetime"
    """The timestamp when the artifact was created."""

artifact_id instance-attribute

artifact_id: IssueArtifactId

The unique identifier of the artifact.

artifact_type instance-attribute

artifact_type: IssueArtifactType

Semantic category of the artifact.

body instance-attribute

The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else through IssueArtifactBody.raw.

created_at instance-attribute

created_at: datetime

The timestamp when the artifact was created.

media_type instance-attribute

MIME type the producer declared for its content.

metadata instance-attribute

metadata: NotRequired[object]

Producer-defined structured metadata, when the producer supplied any. Returned only for an artifactType whose content has no defined shape, so that the artifact stays inspectable. For an artifactType with a defined shape, body carries the content and this member is omitted.

producer instance-attribute

The agent that produced the artifact.