graphene/graphene-django/graphene_django/views.py

13 lines
308 B
Python
Raw Normal View History

from graphql_django_view import GraphQLView as BaseGraphQLView
class GraphQLView(BaseGraphQLView):
graphene_schema = None
def __init__(self, schema, **kwargs):
super(GraphQLView, self).__init__(
graphene_schema=schema,
schema=schema,
**kwargs
)