Closed rharder closed 7 years ago
Hi @rharder, thanks for you PR. Can you please fix failed check errors?
Yeah, I was looking at that, but I'm not sure how to interpret it. There's an error that says
ImportError: No module named 'websockets'
but that would have to be installed with pip install websockets. I'll google around and see what's up.
-Rob
On Wed, Jan 4, 2017 at 1:15 PM, Kovács Bálint notifications@github.com wrote:
Hi @rharder https://github.com/rharder, thanks for you PR. Can you please fix failed check errors?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/randomchars/pushbullet.py/pull/107#issuecomment-270474696, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEnUCkI-MW5l6CE4Gec50n5aB7ge__Iks5rO_3kgaJpZM4La_L7 .
OK, well the v2.7 test fails because asyncio and coroutines aren't supported in v2.7. Not sure if you want to abandon v2.7 support.
I'm going to close this pull request. I've done a complete conversion of pushbullet to asyncio, but I'm going to try to find an elegant way to have both regular and asyncio in the same package with a minimal amount of code duplication.
I converted listener.py to using asyncio and the websockets package. I also added a get_new_pushes() function to pushbullet.py to retrieve only the most recent pushes. Not sure if you want to take this package down the asyncio path, but here's a start at least.