Skip to content

UnknownContent

Base classes

Name Children Inherits
Unknown
aclientp.schema.v2.base
Base of fallback variants of open unions: a custom or future variant.

⋔ Inheritance diagram

graph TD
  95970868602624["content.UnknownContent"]
  95970868374176["base.Unknown"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868374176 --> 95970868602624
  95970868359040 --> 95970868374176
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: Unknown

A custom or future content block; type values starting with _ are extensions.

Source code in src/aclientp/schema/v2/content.py
class UnknownContent(Unknown):
    """A custom or future content block; ``type`` values starting with ``_`` are extensions."""

    type: str
    """The content block type."""

type instance-attribute

type: str

The content block type.

:fa-brands-github: Show source on GitHub