Operation
A class encapsulating a single operation with its id. Helps enforce protocol state transition.
Constructor:
Signature:
Parameters:
-
handler:
- Type
-
BaseGraphQLTransportWSHandler
-
id:
- Type
-
str
-
operation_type:
- Type
-
OperationType
Methods:
-
send_message
Signature:
Parameters:
-
message:
- Type
-
GraphQLTransportMessage
-
Attributes:
-
handler:
-
id:
-
operation_type:
-
completed:
-
task:
- Type
-
asyncio.Task | None