Skip to content

Commit 39990e7

Browse files
committed
Modify setup.py and README.md
Updated both files to reflect inclusion of tests for subscription_manager module.
1 parent a0a9ff0 commit 39990e7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a implementation of apollographql [subscriptions-transport-ws](https://
66

77
Meant to be used in conjunction with [graphql-python](https://github.com/graphql-python) / [graphene](http://graphene-python.org/) server and [apollo-client](http://dev.apollodata.com/) for graphql. The api is below, but if you want more information, consult the apollo graphql libraries referenced above.
88

9-
Initial implementation. Currently only works with Python 2. No tests yet.
9+
Initial implementation. Currently only works with Python 2.
1010

1111
## Installation
1212
```
@@ -39,7 +39,7 @@ $ pip install graphql-subscriptions
3939
args = kwargs.get('args')
4040
return {
4141
'new_user_channel': {
42-
'filter': lambda user, context: user.active == args.active
42+
'filter': lambda root, context: root.active == args.active
4343
}
4444
}
4545

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='graphql-subscriptions',
11-
version='0.1.6',
11+
version='0.1.7',
1212
author='Heath Ballard',
1313
author_email='heath.ballard@gmail.com',
1414
description=('A port of apollo-graphql subscriptions for python, using\
@@ -27,5 +27,5 @@
2727
'License :: OSI Approved :: MIT License'
2828
],
2929
install_requires=['gevent-websocket', 'redis', 'promise', 'graphql-core'],
30-
tests_require=['pytest', 'fakeredis'],
30+
tests_require=['pytest', 'pytest-mock', 'fakeredis', 'graphene'],
3131
include_package_data=True)

0 commit comments

Comments
 (0)