Skip to content

Commit 3fbf920

Browse files
author
andu
committed
asyncioexecutor datadvance#1
1 parent c3c970d commit 3fbf920

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

channels_graphql_ws/graphql_ws_consumer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import django.db
5555
import graphql
5656
import graphql.error
57-
import graphql.execution.executors.asyncio
57+
#import graphql.execution.executors.asyncio
5858
import promise
5959
import rx
6060

@@ -622,7 +622,7 @@ def register_middleware(next_middleware, root, info, *args, **kwds):
622622
register_middleware, *self.middleware, wrap_in_promise=False
623623
),
624624
allow_subscriptions=True,
625-
executor=graphql.execution.executors.asyncio.AsyncioExecutor(),
625+
#executor=graphql.execution.executors.asyncio.AsyncioExecutor(),
626626
)
627627
)
628628

poetry.lock

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ python = "^3.9.0"
5151
aiohttp = "^3"
5252
asgiref = "^3"
5353
channels = "^3"
54-
dataclasses = {version = "^0.7", python = "~3.6"}
55-
graphene = "3"
54+
graphene = "^3"
5655
graphql-core = ">=2.2"
5756
msgpack = ">=0.6.1, <2"
58-
django = "4.1.0"
57+
django = "^4"
58+
rx = "^3.2.0"
5959
[tool.poetry.dev-dependencies]
6060
# Development dependencies.
6161
# Version syntax: https://python-poetry.org/docs/dependency-specification/

0 commit comments

Comments
 (0)