GraphQLView

Constructor:

Signature:

def __init__(
self,
schema: BaseSchema,
graphiql: bool | None = None,
graphql_ide: GraphQL_IDE | None = 'graphiql',
allow_queries_via_get: bool = True,
keep_alive: bool = True,
keep_alive_interval: float = 1,
debug: bool = False,
subscription_protocols: Iterable[str] = (GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL),
connection_init_wait_timeout: timedelta = timedelta(ExprKeyword),
) -> None:
...

Parameters:

  1. schema:

    Type
    BaseSchema
  2. graphiql:

    Type
    bool | None
    Default
    None
  3. graphql_ide:

    Type
    GraphQL_IDE | None
    Default
    'graphiql'
  4. allow_queries_via_get:

    Type
    bool
    Default
    True
  5. keep_alive:

    Type
    bool
    Default
    True
  6. keep_alive_interval:

    Type
    float
    Default
    1
  7. debug:

    Type
    bool
    Default
    False
  8. subscription_protocols:

    Type
    Iterable[str]
    Default
    (GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL)
  9. connection_init_wait_timeout:

    Type
    timedelta
    Default
    timedelta(ExprKeyword)

Methods:

Attributes:

  1. graphql_transport_ws_handler_class:

  2. graphql_ws_handler_class:

  3. allow_queries_via_get:

  4. request_adapter_class:

  5. schema:

  6. keep_alive:

  7. keep_alive_interval:

  8. debug:

  9. subscription_protocols:

  10. connection_init_wait_timeout:

  11. graphql_ide: