mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-22 06:20:33 +03:00
14 lines
363 B
Python
14 lines
363 B
Python
import cookbook.ingredients.schema
|
|
import graphene
|
|
|
|
from graphene_django.debug import DjangoDebug
|
|
|
|
# print cookbook.ingredients.schema.Query._meta.graphql_type.get_fields()['allIngredients'].args
|
|
|
|
|
|
class Query(cookbook.ingredients.schema.Query, graphene.ObjectType):
|
|
debug = graphene.Field(DjangoDebug, name='__debug')
|
|
|
|
|
|
schema = graphene.Schema(query=Query)
|