Skip to content

Commit

Permalink
[Flask-Cors] accepts flask blueprints (#11995)
Browse files Browse the repository at this point in the history
  • Loading branch information
alichaudry authored May 22, 2024
1 parent 489e8db commit aa2d33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Flask-Cors/flask_cors/extension.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LOG: Logger
class CORS:
def __init__(
self,
app: flask.Flask | None = None,
app: flask.Flask | flask.Blueprint | None = None,
*,
resources: dict[str, dict[str, Any]] | list[str] | str | None = ...,
origins: str | list[str] | None = ...,
Expand Down

0 comments on commit aa2d33d

Please sign in to comment.