mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-14 16:21:08 -05:00
📝 Update source examples and docs from Python 3.9 to 3.10 (#14900)
This commit is contained in:
committed by
GitHub
parent
d06ab3f5c7
commit
c9e2277d8b
@@ -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