mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-18 08:05:11 -04:00
📝 Update source examples and docs from Python 3.9 to 3.10 (#14900)
This commit is contained in:
1 parent
d06ab3f5c7
commit
c9e2277d8b
655 files changed
+3703
-5660
No files matched your search
@@ -5,11 +5,11 @@ from inline_snapshot import snapshot
|
||||
|
||||
|
||||
def get_client() -> TestClient:
|
||||
from docs_src.conditional_openapi import tutorial001_py39
|
||||
from docs_src.conditional_openapi import tutorial001_py310
|
||||
|
||||
importlib.reload(tutorial001_py39)
|
||||
importlib.reload(tutorial001_py310)
|
||||
|
||||
client = TestClient(tutorial001_py39.app)
|
||||
client = TestClient(tutorial001_py310.app)
|
||||
return client
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user