gql to python

Solutions on MaxInterview for gql to python by the best coders in the world

showing results for - "gql to python"
Gabriele
23 Nov 2016
1from gql import gql, Client
2
3from .someSchema import SampleSchema
4
5
6client = Client(schema=SampleSchema)
7query = gql('''
8    {
9      hello
10    }
11''')
12
13client.execute(query)
14