-
Notifications
You must be signed in to change notification settings - Fork 115
Fixes for various errors #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pubnub/models/consumer/common.py
Outdated
@@ -20,4 +20,4 @@ def __init__(self): | |||
self.affected_groups = None | |||
|
|||
def is_error(self): | |||
return self.error is not None | |||
return True if self.error else False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also try with:
return bool(self.error)
It should return the same results ;)
packages=find_packages(exclude=("examples*", 'tests*')), | ||
license='MIT', | ||
classifiers=( | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on python_requires
this package should work with Python 3.7
@client-engineering-bot release |
🚀 Release successfully completed 🚀 |
fix: Fix typo in consumers v3
This change fixes typo in consumer models user and space resulting in setting invalid flags for the request.
fix: Fix method
is_error
in common modelThis change fixes error in calling and returning value of
status.is_error()
methodfix: Add misc informations to PyPi package
This change adds additional informations to PyPi package. Informations include URLs to source code and documentation, required python version (at least 3.7) and updates a list of supported python versions (removed 3.6 and added 3.10)
Closes #145
Closes #102
Closes #115