Skip to content

Commit

Permalink
Split the App and Blueprint into Sansio and IO parts (#5127)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Aug 20, 2023
2 parents 0e0e8dd + bc5dd38 commit 1d8b53f
Show file tree
Hide file tree
Showing 13 changed files with 1,820 additions and 1,537 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Version 3.0.0
Unreleased

- Remove previously deprecated code. :pr:`5223`
- Restructure the code such that the Flask (app) and Blueprint
classes have Sans-IO bases. :pr:`5127`


Version 2.3.3
Expand Down
4 changes: 2 additions & 2 deletions src/flask/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from . import json as json
from .app import Flask as Flask
from .app import Request as Request
from .app import Response as Response
from .blueprints import Blueprint as Blueprint
from .config import Config as Config
from .ctx import after_this_request as after_this_request
Expand Down Expand Up @@ -37,5 +35,7 @@
from .templating import render_template_string as render_template_string
from .templating import stream_template as stream_template
from .templating import stream_template_string as stream_template_string
from .wrappers import Request as Request
from .wrappers import Response as Response

__version__ = "3.0.0.dev"
Loading

0 comments on commit 1d8b53f

Please sign in to comment.