Skip to content

Commit

Permalink
Merge pull request #328 from SpaceK33z/patch-1
Browse files Browse the repository at this point in the history
Docs: fix usage of deprecated `AbstractType`
  • Loading branch information
syrusakbary committed Nov 21, 2017
2 parents 5661db8 + 70a6c72 commit 31679df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial-plain.rst
Expand Up @@ -153,7 +153,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
model = Ingredient
class Query(graphene.AbstractType):
class Query(object):
all_categories = graphene.List(CategoryType)
all_ingredients = graphene.List(IngredientType)
Expand Down Expand Up @@ -426,7 +426,7 @@ We can update our schema to support that, by adding new query for ``ingredient``
model = Ingredient
class Query(graphene.AbstractType):
class Query(object):
category = graphene.Field(CategoryType,
id=graphene.Int(),
name=graphene.String())
Expand Down

0 comments on commit 31679df

Please sign in to comment.