mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
Added support for custom executor settings
This commit is contained in:
parent
2b6a253b78
commit
63f320e92b
|
@ -75,7 +75,7 @@ class Schema(object):
|
|||
def types(self):
|
||||
return self._internal_types
|
||||
|
||||
def execute(self, request='', root=None, vars=None, operation_name=None):
|
||||
def execute(self, request='', root=None, vars=None, operation_name=None, **kwargs):
|
||||
root = root or object()
|
||||
return self.executor.execute(
|
||||
self.schema,
|
||||
|
@ -83,6 +83,7 @@ class Schema(object):
|
|||
root=self.query(root),
|
||||
args=vars,
|
||||
operation_name=operation_name,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
def introspect(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user