INNER CODE UNIT · Python
start
psevensas/DjangoChannelsGraphqlWs · channels_graphql_ws/client.py:208
async def start(self, query, *, variables=None, operation_name=None, msg_id=AUTO):
"""Start GraphQL request. Responses must be checked explicitly.
Args:
query: A GraphQL string query. We `dedent` it, so you do not
have to.
variables: Dict of variables (optional).
operation_name: The name of the operation, usually should
describe what the operation does, useful for identifying
the operation and logging. Optional.
msg_id: The message identifier. Automatically generated by
default.
Returns:
The message identifier.
"""
msg_type = (