Skip to content

proxy

Class info

Classes

Name Children Inherits
InitializeProxyRequest
aclientp.schema.proxy
Request parameters for ``proxy/initialize``. Same as ``initialize``.
    InitializeProxyResponse
    aclientp.schema.proxy
    Response to ``proxy/initialize``. Same as the ``initialize`` response.
      ProxySuccessorNotification
      aclientp.schema.proxy
      A notification wrapped for delivery to the proxy's successor.
        ProxySuccessorRequest
        aclientp.schema.proxy
        A request wrapped for delivery to the proxy's successor.

          🛈 DocStrings

          UNSTABLE: Proxy chain types (proxy/initialize, proxy/successor).

          A conductor chains components (proxies) in front of a final agent. It sends proxy/initialize instead of initialize to every component that has a successor, and components reach their successor by wrapping messages in proxy/successor.

          InitializeProxyRequest

          Bases: InitializeRequest

          Request parameters for proxy/initialize. Same as initialize.

          Source code in src/aclientp/schema/proxy.py
          class InitializeProxyRequest(InitializeRequest):
              """Request parameters for ``proxy/initialize``. Same as ``initialize``."""
          

          InitializeProxyResponse

          Bases: InitializeResponse

          Response to proxy/initialize. Same as the initialize response.

          The proxy MUST NOT change protocol_version.

          Source code in src/aclientp/schema/proxy.py
          class InitializeProxyResponse(InitializeResponse):
              """Response to ``proxy/initialize``. Same as the ``initialize`` response.
          
              The proxy MUST NOT change ``protocol_version``.
              """
          

          ProxySuccessorNotification

          Bases: AnnotatedObject

          A notification wrapped for delivery to the proxy's successor.

          Source code in src/aclientp/schema/proxy.py
          class ProxySuccessorNotification(AnnotatedObject):
              """A notification wrapped for delivery to the proxy's successor."""
          
              method: str
              """Method name of the wrapped notification."""
          
              params: Any = None
              """Params of the wrapped notification, forwarded unchanged."""
          

          method instance-attribute

          method: str
          

          Method name of the wrapped notification.

          params class-attribute instance-attribute

          params: Any = None
          

          Params of the wrapped notification, forwarded unchanged.

          ProxySuccessorRequest

          Bases: AnnotatedObject

          A request wrapped for delivery to the proxy's successor.

          The result is the wrapped request's result, forwarded unchanged. field_meta belongs to the envelope and is hop-local.

          Source code in src/aclientp/schema/proxy.py
          class ProxySuccessorRequest(AnnotatedObject):
              """A request wrapped for delivery to the proxy's successor.
          
              The result is the wrapped request's result, forwarded unchanged.
              ``field_meta`` belongs to the envelope and is hop-local.
              """
          
              method: str
              """Method name of the wrapped request."""
          
              params: Any = None
              """Params of the wrapped request, forwarded unchanged."""
          

          method instance-attribute

          method: str
          

          Method name of the wrapped request.

          params class-attribute instance-attribute

          params: Any = None
          

          Params of the wrapped request, forwarded unchanged.