mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-23 10:19:24 -04:00
🔥 Remove Python 3.9 specific files, no longer needed after updating translations (#14931)
This commit is contained in:
1 parent
ed12105cce
commit
bbb96d4a0a
214 files changed
+28
-3393
No files matched your search
@@ -1,10 +0,0 @@
|
||||
from typing import Annotated
|
||||
|
||||
from fastapi import FastAPI, Form
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.post("/login/")
|
||||
async def login(username: Annotated[str, Form()], password: Annotated[str, Form()]):
|
||||
return {"username": username}
|
||||
@@ -1,8 +0,0 @@
|
||||
from fastapi import FastAPI, Form
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.post("/login/")
|
||||
async def login(username: str = Form(), password: str = Form()):
|
||||
return {"username": username}
|
||||
Reference in new issue
Block a user