File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ include .flake8
7
7
include .pylintrc
8
8
9
9
include tox.ini
10
+ include travis.yml
10
11
11
12
graft aiohttp_graphql
12
13
graft tests
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ def __init__(
35
35
encoder = None ,
36
36
error_formatter = None ,
37
37
enable_async = True ,
38
+ ** execution_options ,
38
39
):
39
40
# pylint: disable=too-many-arguments
40
41
# pylint: disable=too-many-locals
@@ -54,6 +55,7 @@ def __init__(
54
55
self .encoder = encoder or json_encode
55
56
self .error_formatter = error_formatter or default_format_error
56
57
self .enable_async = enable_async and isinstance (self .executor , AsyncioExecutor )
58
+ self .execution_options = execution_options
57
59
assert isinstance (
58
60
self .schema , GraphQLSchema
59
61
), "A Schema is required to be provided to GraphQLView."
@@ -140,6 +142,7 @@ async def __call__(self, request):
140
142
context_value = self .get_context (request ),
141
143
middleware = self .middleware ,
142
144
executor = self .executor ,
145
+ ** self .execution_options ,
143
146
)
144
147
145
148
if is_graphiql and self .enable_async :
You can’t perform that action at this time.
0 commit comments