Skip to content

Commit c1bd255

Browse files
authored
Update queryvalidation.rst
1 parent efc0353 commit c1bd255

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/execution/queryvalidation.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Usage
2222
Here is how you would implement depth-limiting on your schema.
2323

2424
.. code:: python
25+
2526
from graphql import validate, parse
2627
from graphene import ObjectType, Schema, String
2728
from graphene.validation import depth_limit_validator
@@ -58,6 +59,7 @@ Usage
5859
Here is how you would disable introspection for your schema.
5960

6061
.. code:: python
62+
6163
from graphql import validate, parse
6264
from graphene import ObjectType, Schema, String
6365
from graphene.validation import DisableIntrospection
@@ -92,6 +94,7 @@ reason. Here is an example query validator that visits field definitions in Grap
9294
if any of those fields are blacklisted:
9395

9496
.. code:: python
97+
9598
from graphql import GraphQLError
9699
from graphql.language import FieldNode
97100
from graphql.validation import ValidationRule

0 commit comments

Comments
 (0)