Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

fix(flask.py): ignore endpoints correctly #340

Merged
merged 2 commits into from
May 2, 2021

Conversation

ronnathaniel
Copy link
Member

No description provided.

@ronnathaniel ronnathaniel requested a review from a team as a code owner April 28, 2021 17:26
if ignored_endpoints:
self.ignored_endpoints = ignored_endpoints
if isinstance(ignored_endpoints, list):
Copy link
Member

Choose a reason for hiding this comment

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

We can drop this - no one uses this param

Copy link
Member Author

Choose a reason for hiding this comment

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

just in case its passed in later on - itll be sure to include it to the std ignored endpoints

Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to not maintain 2 scenarios just for Flask. It can just lead to confusion / errors. It's better to use the standard way of setting ignored endpoints

@ranrib ranrib merged commit 3eca14a into master May 2, 2021
@ranrib
Copy link
Member

ranrib commented May 3, 2021

🎉 This PR is included in version 1.65.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ranrib ranrib added the released label May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants