make_graphql_controller
Signature:
def make_graphql_controller(
graphiql: bool | None = None,
graphql_ide: GraphQL_IDE | None = 'graphiql',
allow_queries_via_get: bool = True,
keep_alive: bool = False,
keep_alive_interval: float = 1,
root_value_getter: AnyCallable | None = None,
context_getter: AnyCallable | None = None,
subscription_protocols: Tuple[str, ...] = (GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL),
connection_init_wait_timeout: timedelta = timedelta(ExprKeyword),
Parameters:
-
-
-
- Type
-
bool | None
- Default
-
None
-
- Type
-
GraphQL_IDE | None
- Default
-
'graphiql'
-
-
-
-
-
- Type
-
AnyCallable | None
- Default
-
None
-
- Type
-
AnyCallable | None
- Default
-
None
-
- Type
-
Tuple[str, ...]
- Default
-
(GRAPHQL_TRANSPORT_WS_PROTOCOL, GRAPHQL_WS_PROTOCOL)
-
connection_init_wait_timeout:
- Type
-
timedelta
- Default
-
timedelta(ExprKeyword)