Skip to content

Commit 932e3d8

Browse files
committed
Fix flake8 issues in field example
1 parent 7af4137 commit 932e3d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/field_example.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import graphene
22

3+
34
class Person(graphene.Interface):
45
name = graphene.String()
56
age = graphene.ID()
67

8+
79
class Patron(Person):
810
id = graphene.ID()
911

12+
1013
class Query(graphene.ObjectType):
1114

1215
patron = graphene.Field(Patron)
@@ -26,5 +29,3 @@ def resolve_patron(self, args, info):
2629
result = schema.execute(query)
2730
# Print the result
2831
print result.data['patron']
29-
30-

0 commit comments

Comments
 (0)