Skip to content

Implementation

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970862250592["common.Implementation"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970862250592
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Describes the name and version of an ACP implementation.

Includes an optional title for UI representation.

Source code in src/aclientp/schema/common.py
class Implementation(AnnotatedObject):
    """Describes the name and version of an ACP implementation.

    Includes an optional title for UI representation.
    """

    name: str
    """Intended for programmatic or logical use.

    Can be used as a display name fallback if title isn't present."""

    title: str | None = None
    """Intended for UI and end-user contexts.

    Optimized to be human-readable and easily understood.
    If not provided, the name should be used for display."""

    version: str
    """Version of the implementation.

    Can be displayed to the user or used for debugging or metrics purposes."""

name instance-attribute

name: str

Intended for programmatic or logical use.

Can be used as a display name fallback if title isn't present.

title class-attribute instance-attribute

title: str | None = None

Intended for UI and end-user contexts.

Optimized to be human-readable and easily understood. If not provided, the name should be used for display.

version instance-attribute

version: str

Version of the implementation.

Can be displayed to the user or used for debugging or metrics purposes.

:fa-brands-github: Show source on GitHub