Skip to content

Commit ada7bad

Browse files
committed
fix indentation
1 parent 46aa064 commit ada7bad

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,16 @@ Instead of providing the GraphQL queries as a String, it is also possible to cre
183183
Using the DSL module, we can create a query using a Domain Specific Language which is created from the schema.
184184

185185
```python
186-
from gql.dsl import DSLSchema
186+
from gql.dsl import DSLSchema
187187

188-
client = Client(schema=StarWarsSchema)
189-
ds = DSLSchema(client)
188+
client = Client(schema=StarWarsSchema)
189+
ds = DSLSchema(client)
190190

191-
query_dsl = ds.Query.hero.select(
192-
ds.Character.id,
193-
ds.Character.name,
194-
ds.Character.friends.select(ds.Character.name,),
195-
)
191+
query_dsl = ds.Query.hero.select(
192+
ds.Character.id,
193+
ds.Character.name,
194+
ds.Character.friends.select(ds.Character.name,),
195+
)
196196
```
197197

198198
will create a query equivalent to:

0 commit comments

Comments
 (0)