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)