Browse Source

Remove code examples for Python 3.8 in `wsgi`

pull/14510/head
Yurii Motov 7 months ago
parent
commit
5e94c21235
  1. 2
      docs/en/docs/advanced/wsgi.md
  2. 0
      docs_src/wsgi/tutorial001_py39.py
  3. 2
      tests/test_tutorial/test_wsgi/test_tutorial001.py

2
docs/en/docs/advanced/wsgi.md

@ -12,7 +12,7 @@ Then wrap the WSGI (e.g. Flask) app with the middleware.
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 }

0
docs_src/wsgi/tutorial001.py → docs_src/wsgi/tutorial001_py39.py

2
tests/test_tutorial/test_wsgi/test_tutorial001.py

@ -1,6 +1,6 @@
from fastapi.testclient import TestClient
from docs_src.wsgi.tutorial001 import app
from docs_src.wsgi.tutorial001_py39 import app
client = TestClient(app)

Loading…
Cancel
Save