evg-app-back/evgenApp/schema.py

16 lines
488 B
Python
Raw Normal View History

2021-01-04 23:25:59 +03:00
import graphene
import users.schema
2021-01-10 15:51:59 +03:00
import organisations.schema
2021-01-20 22:10:57 +03:00
import lessons.schema
import hyperlinks.schema
2021-01-04 23:25:59 +03:00
2021-01-20 22:10:57 +03:00
class Query(users.schema.Query, organisations.schema.Query,
lessons.schema.Query, hyperlinks.schema.Query, graphene.ObjectType):
2021-01-10 15:51:59 +03:00
pass
2021-01-20 22:10:57 +03:00
class Mutation(users.schema.Mutation, organisations.schema.Mutation,
lessons.schema.Mutation, hyperlinks.schema.Mutation, graphene.ObjectType):
2021-01-04 23:25:59 +03:00
pass
2021-01-10 15:51:59 +03:00
schema = graphene.Schema(query=Query, mutation=Mutation)