Skip to content

Commit

Permalink
Fix import in Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Nov 17, 2017
1 parent 38a4338 commit 27084a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions graphql_ws/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@
__version__ = '0.1.0'


from .observable_aiter import setup_observable_extension
from .base import BaseConnectionContext, BaseSubscriptionServer

setup_observable_extension()
3 changes: 3 additions & 0 deletions graphql_ws/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
from graphql.execution.executors.asyncio import AsyncioExecutor

from .base import ConnectionClosedException, BaseConnectionContext, BaseSubscriptionServer
from .observable_aiter import setup_observable_extension

from .constants import (
GQL_CONNECTION_ACK,
GQL_CONNECTION_ERROR,
GQL_COMPLETE
)

setup_observable_extension()


class AiohttpConnectionContext(BaseConnectionContext):
async def receive(self):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
]

setup(
name='graphql_ws',
name='graphql-ws',
version='0.1.1',
description="Websocket server for GraphQL subscriptions",
long_description=readme + '\n\n' + history,
Expand All @@ -42,7 +42,7 @@
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='graphql_ws',
keywords=['graphql', 'subscriptions', 'graphene', 'websockets'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 27084a2

Please sign in to comment.