Skip to content

Commit 1d8b53f

Browse files
authored
Split the App and Blueprint into Sansio and IO parts (#5127)
2 parents 0e0e8dd + bc5dd38 commit 1d8b53f

File tree

13 files changed

+1820
-1537
lines changed

13 files changed

+1820
-1537
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Version 3.0.0
44
Unreleased
55

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

810

911
Version 2.3.3

src/flask/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from . import json as json
22
from .app import Flask as Flask
3-
from .app import Request as Request
4-
from .app import Response as Response
53
from .blueprints import Blueprint as Blueprint
64
from .config import Config as Config
75
from .ctx import after_this_request as after_this_request
@@ -37,5 +35,7 @@
3735
from .templating import render_template_string as render_template_string
3836
from .templating import stream_template as stream_template
3937
from .templating import stream_template_string as stream_template_string
38+
from .wrappers import Request as Request
39+
from .wrappers import Response as Response
4040

4141
__version__ = "3.0.0.dev"

0 commit comments

Comments
 (0)