Skip to content

UnsupportedProtocolVersionErrorData

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

Data of the -32022 (Unsupported protocol version) error.

Source code in src/aclientp/schema/v2/common.py
class UnsupportedProtocolVersionErrorData(AnnotatedObject):
    """Data of the ``-32022`` (Unsupported protocol version) error."""

    requested: ProtocolVersion
    """The protocol version the Client requested."""

    supported: Sequence[ProtocolVersion]
    """The protocol versions the Agent supports."""

requested instance-attribute

requested: ProtocolVersion

The protocol version the Client requested.

supported instance-attribute

supported: Sequence[ProtocolVersion]

The protocol versions the Agent supports.

:fa-brands-github: Show source on GitHub