From d1f28633744d61aa955dc862c5cd2c29d678695c Mon Sep 17 00:00:00 2001 From: Joe Larson Date: Mon, 3 Oct 2016 13:23:22 -0600 Subject: [PATCH] fixes docs to include ObjectType in root query --- docs/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 4927bf7b1..e4a54a75e 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -149,7 +149,7 @@ Create the parent project-level ``cookbook/schema.py``: import cookbook.ingredients.schema - class Query(cookbook.ingredients.schema.Query): + class Query(cookbook.ingredients.schema.Query, graphene.ObjectType): # This class will inherit from multiple Queries # as we begin to add more apps to our project pass