Skip to content

ArtifactArtifactsArtifact

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  497047074["output_types.ArtifactArtifactsArtifact"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 497047074
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

artifact entry of ArtifactArtifacts.

Source code in src/clawd_code_sdk/models/output_types.py
class ArtifactArtifactsArtifact(TypedDict):
    """``artifact`` entry of ArtifactArtifacts."""

    title: str
    url: str
    favicon: NotRequired[str]
    updatedAt: NotRequired[str]
    rel: NotRequired[Literal["mine", "shared"]]
    external: NotRequired[Literal[True]]
    role: NotRequired[Literal["editor", "commenter", "reader", "viewer"]]
    outsidersMayHaveWritten: NotRequired[Literal[True]]
    pinned: NotRequired[bool]

:fa-brands-github: Show source on GitHub