Skip to content

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

Merged
merged 5 commits into from
Nov 24, 2022
Merged

Fixes for various errors #146

merged 5 commits into from
Nov 24, 2022

Conversation

seba-aln
Copy link
Contributor

@seba-aln seba-aln commented Nov 21, 2022

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 model

This change fixes error in calling and returning value of status.is_error() method

fix: 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

@@ -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
Copy link
Contributor

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',
Copy link
Contributor

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

@seba-aln
Copy link
Contributor Author

@client-engineering-bot release

@seba-aln seba-aln merged commit 8ee850b into master Nov 24, 2022
@seba-aln seba-aln deleted the fix/various-bugfixes branch November 24, 2022 14:46
@pn-op
Copy link

pn-op commented Nov 24, 2022

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants