Skip to content

Instantly share code, notes, and snippets.

@chris001177
Created June 27, 2019 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris001177/04440dfee3385f243154c12b69e7c57e to your computer and use it in GitHub Desktop.
Save chris001177/04440dfee3385f243154c12b69e7c57e to your computer and use it in GitHub Desktop.
import graphene
import ingredients.schema
class Query(ingredients.schema.Query, graphene.ObjectType):
# This class will inherit from multiple Queries
# as we begin to add more apps to our project
pass
schema = graphene.Schema(query=Query)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment