Skip to content
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

Update Flask-Cors extension stubs to accept Flask Blueprints #11995

Merged
merged 1 commit into from
May 22, 2024

Conversation

alichaudry
Copy link
Contributor

@alichaudry alichaudry commented May 21, 2024

flask_cors.CORS accepts flask.Blueprint objects, so update the stub to support that. Example from Flask-Cors' docs here.

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit aa2d33d into python:main May 22, 2024
48 checks passed
@srittau
Copy link
Collaborator

srittau commented May 22, 2024

Thanks!

@alichaudry alichaudry deleted the flask-cors/add-blueprint-support branch May 22, 2024 15:57
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.

None yet

2 participants