Skip to content

Implementation

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970868880192["common.Implementation"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868880192
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Name and version of a client or agent implementation.

Source code in src/aclientp/schema/v2/common.py
class Implementation(AnnotatedObject):
    """Name and version of a client or agent implementation."""

    name: str
    """Programmatic name; also the display name if ``title`` is not set."""

    title: str | MISSING | None = MISSING
    """Human-readable name for user interfaces."""

    version: str
    """Version of the implementation, e.g. ``1.0.0``."""

name instance-attribute

name: str

Programmatic name; also the display name if title is not set.

title class-attribute instance-attribute

title: str | MISSING | None = MISSING

Human-readable name for user interfaces.

version instance-attribute

version: str

Version of the implementation, e.g. 1.0.0.

:fa-brands-github: Show source on GitHub