Skip to content

ResultResponse

Base classes

Name Children Inherits
_Message
aclientp.schema.v2.protocol

⋔ Inheritance diagram

graph TD
  95970871431808["protocol.ResultResponse"]
  95970867845168["protocol._Message"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970867845168 --> 95970871431808
  95970855946400 --> 95970867845168
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: _Message

A successful JSON-RPC response.

Source code in src/aclientp/schema/v2/protocol.py
class ResultResponse(_Message):
    """A successful JSON-RPC response."""

    id: RequestId
    """The ID of the request answered."""

    result: Any
    """The method-specific result; parse it with the method tables."""

id instance-attribute

The ID of the request answered.

result instance-attribute

result: Any

The method-specific result; parse it with the method tables.

:fa-brands-github: Show source on GitHub