mirror of https://github.com/tiangolo/fastapi.git
Remove code examples for Python 3.8 in `wsgi`
This commit is contained in:
parent
cc4b6d805a
commit
265626fe69
|
|
@ -12,7 +12,7 @@ Then wrap the WSGI (e.g. Flask) app with the middleware.
|
||||||
|
|
||||||
And then mount that under a path.
|
And then mount that under a path.
|
||||||
|
|
||||||
{* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *}
|
{* ../../docs_src/wsgi/tutorial001_py39.py hl[2:3,3] *}
|
||||||
|
|
||||||
## Check it { #check-it }
|
## Check it { #check-it }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
from fastapi.testclient import TestClient
|
from fastapi.testclient import TestClient
|
||||||
|
|
||||||
from docs_src.wsgi.tutorial001 import app
|
from docs_src.wsgi.tutorial001_py39 import app
|
||||||
|
|
||||||
client = TestClient(app)
|
client = TestClient(app)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue