Last active
October 8, 2019 13:57
-
-
Save nidhinp/24c7249d14172ffbd467517ece6105d6 to your computer and use it in GitHub Desktop.
This file contains 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
from graphene import ObjectType, Schema | |
from app.info.graphql.schema import Query as InfoQuery | |
from app.info.graphql.schema import Mutation as InfoMutation | |
class Query(InfoQuery, ObjectType): | |
# This class will inherit from multiple Queries | |
# as we begin to add more apps to our project | |
pass | |
class Mutation(InfoMutation, ObjectType): | |
# This class will inherit from multiple Mutations | |
# as we begin to add more apps to our project | |
pass | |
schema = Schema(query=Query, mutation=Mutation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment