Skip to content

[python] Re-merge Subclass Python exceptions (#7321)#8095

Merged
spacether merged 2 commits intoOpenAPITools:masterfrom
Kylmakalle:master
Dec 5, 2020
Merged

[python] Re-merge Subclass Python exceptions (#7321)#8095
spacether merged 2 commits intoOpenAPITools:masterfrom
Kylmakalle:master

Conversation

@Kylmakalle
Copy link
Contributor

@Kylmakalle Kylmakalle commented Dec 4, 2020

* Subclass Python exceptions:
- UnauthorizedException (401)
- ForbiddenException (403)
- NotFoundException (404)
- ServiceException [500 - 599]

Fixes OpenAPITools#2151

* add generated sample code

* use Python 2 flavor inheritance

* regenerate samples
@auto-labeler
Copy link

auto-labeler bot commented Dec 4, 2020

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

@Kylmakalle
Copy link
Contributor Author

@taxpon (2017/07) @frol (2017/07) @mbohlool (2017/07) @cbornet (2017/09) @kenjones-cisco (2017/11) @tomplus (2018/10) @Jyhess (2019/01) @arun-nalla (2019/11) @spacether (2019/11)

@wing328 wing328 added this to the 5.0.0 milestone Dec 5, 2020
Copy link
Contributor

@spacether spacether left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. It looks great!

@spacether spacether merged commit 13f1c61 into OpenAPITools:master Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants