From a56d935acc1efb21eba5ca834311b7ecfc6a2663 Mon Sep 17 00:00:00 2001 From: Paulo Romeira Date: Sun, 27 May 2018 14:27:48 -0300 Subject: [PATCH] docs: Fix schema at tutorial-plain --- docs/tutorial-plain.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial-plain.rst b/docs/tutorial-plain.rst index cf877eb..8e30b06 100644 --- a/docs/tutorial-plain.rst +++ b/docs/tutorial-plain.rst @@ -154,7 +154,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following: model = Ingredient - class Query(object): + class Query(graphene.AbstractType): all_categories = graphene.List(CategoryType) all_ingredients = graphene.List(IngredientType)