File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 19
19
20
20
class GraphQLView (View ):
21
21
schema = None
22
- executor = None
23
22
root_value = None
24
23
pretty = False
25
24
graphiql = False
@@ -51,9 +50,6 @@ def get_context_value(self):
51
50
def get_middleware (self ):
52
51
return self .middleware
53
52
54
- def get_executor (self ):
55
- return self .executor
56
-
57
53
def render_graphiql (self , params , result ):
58
54
return render_graphiql (
59
55
params = params ,
@@ -76,13 +72,6 @@ def dispatch_request(self):
76
72
77
73
pretty = self .pretty or show_graphiql or request .args .get ("pretty" )
78
74
79
- extra_options = {}
80
- executor = self .get_executor ()
81
- if executor :
82
- # We only include it optionally since
83
- # executor is not a valid argument in all backends
84
- extra_options ["executor" ] = executor
85
-
86
75
execution_results , all_params = run_http_query (
87
76
self .schema ,
88
77
request_method ,
@@ -94,7 +83,6 @@ def dispatch_request(self):
94
83
root_value = self .get_root_value (),
95
84
context_value = self .get_context_value (),
96
85
middleware = self .get_middleware (),
97
- ** extra_options
98
86
)
99
87
result , status_code = encode_execution_results (
100
88
execution_results ,
You can’t perform that action at this time.
0 commit comments