mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-09 08:00:39 +03:00
13 lines
308 B
Python
13 lines
308 B
Python
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
|
|
)
|