Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 072c59e

Browse filesBrowse files
committed
Fix coverage
1 parent cefbdf1 commit 072c59e
Copy full SHA for 072c59e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎src/graphql/execution/execute.py

Copy file name to clipboardExpand all lines: src/graphql/execution/execute.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,12 +1354,9 @@ def create_source_event_stream(
13541354
separating these two steps. For more on this, see the "Supporting Subscriptions
13551355
at Scale" information in the GraphQL spec.
13561356
"""
1357-
if not execution_context_class:
1358-
execution_context_class = ExecutionContext
1359-
13601357
# If a valid context cannot be created due to incorrect arguments,
13611358
# a "Response" with only errors is returned.
1362-
context = execution_context_class.build(
1359+
context = (execution_context_class or ExecutionContext).build(
13631360
schema,
13641361
document,
13651362
root_value,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.