Created
June 27, 2019 16:11
-
-
Save chris001177/e0cc4e82922d0a8ab0d26333d6a9b33d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| class Mutation(ingredients.schema.Mutation, graphene.ObjectType): | |
| pass | |
| schema = graphene.Schema(query=Query, mutation=Mutation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment