Skip to content

Schema

Sub classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.
Error
aclientp.schema.v2.common
A JSON-RPC error object.
    McpError
    aclientp.schema.v2.mcp
    **UNSTABLE**: An inner MCP error, distinct from an outer ACP error.
      _Message
      aclientp.schema.v2.protocol

      Base classes

      Name Children Inherits
      BaseModel
      pydantic.main
      !!! abstract "Usage Documentation"

      ⋔ Inheritance diagram

      graph TD
        95970855946400["base.Schema"]
        95970851503232["main.BaseModel"]
        125067848591872["builtins.object"]
        95970851503232 --> 95970855946400
        125067848591872 --> 95970851503232

      🛈 DocStrings

      Bases: BaseModel

      Base class of all v2 models.

      Source code in src/aclientp/schema/v2/base.py
      class Schema(BaseModel):
          """Base class of all v2 models."""
      
          model_config = ConfigDict(
              populate_by_name=True,
              alias_generator=_alias,
              use_attribute_docstrings=True,
          )
      

      :fa-brands-github: Show source on GitHub