Operation

A class encapsulating a single operation with its id. Helps enforce protocol state transition.

Constructor:

Signature:

def __init__(
self,
handler: BaseGraphQLTransportWSHandler,
id: str,
operation_type: OperationType,
) -> None:
...

Parameters:

  1. handler:

    Type
    BaseGraphQLTransportWSHandler
  2. id:

    Type
    str
  3. operation_type:

    Type
    OperationType

Methods:

Attributes:

  1. handler:

  2. id:

  3. operation_type:

  4. completed:

  5. task:

    Type
    asyncio.Task | None