Skip to content

Commit d1f2863

Browse files
committed
fixes docs to include ObjectType in root query
1 parent f6684ca commit d1f2863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Create the parent project-level ``cookbook/schema.py``:
149149
import cookbook.ingredients.schema
150150
151151
152-
class Query(cookbook.ingredients.schema.Query):
152+
class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
153153
# This class will inherit from multiple Queries
154154
# as we begin to add more apps to our project
155155
pass

0 commit comments

Comments
 (0)