strawberry.channels.SyncGraphQLHTTPConsumer
Synchronous version of the HTTPConsumer.
This is the same as GraphQLHTTPConsumer
, but it can be used with
synchronous schemas (i.e. the schema’s resolvers are expected to be
synchronous and not asynchronous).
Methods:
-
get_root_value
Signature:
Parameters:
-
request:
- Type
-
ChannelsRequest
-
-
get_context
Signature:
Parameters:
-
request:
- Type
-
ChannelsRequest
-
response:
- Type
-
TemporalResponse
-
-
get_sub_response
Signature:
Parameters:
-
request:
- Type
-
ChannelsRequest
-
-
render_graphql_ide
Signature:
Parameters:
-
request:
- Type
-
ChannelsRequest
-
-
run
Signature:
Parameters:
-
request:
- Type
-
ChannelsRequest
-
context:
- Type
-
Context | None
- Default
-
UNSET
-
root_value:
- Type
-
RootValue | None
- Default
-
UNSET
-
Attributes:
-
allow_queries_via_get:
- Type
-
bool
-
request_adapter_class: