mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-29 21:13:44 +03:00
15 lines
351 B
Python
15 lines
351 B
Python
|
import cookbook.ingredients.schema
|
||
|
import cookbook.recipes.schema
|
||
|
import graphene
|
||
|
|
||
|
from graphene_django.debug import DjangoDebug
|
||
|
|
||
|
|
||
|
class Query(cookbook.ingredients.schema.Query,
|
||
|
cookbook.recipes.schema.Query,
|
||
|
graphene.ObjectType):
|
||
|
debug = graphene.Field(DjangoDebug, name='__debug')
|
||
|
|
||
|
|
||
|
schema = graphene.Schema(query=Query)
|