mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-16 07:02:00 -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,8 +0,0 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.post("/items/", status_code=201)
|
||||
async def create_item(name: str):
|
||||
return {"name": name}
|
||||
@@ -1,8 +0,0 @@
|
||||
from fastapi import FastAPI, status
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.post("/items/", status_code=status.HTTP_201_CREATED)
|
||||
async def create_item(name: str):
|
||||
return {"name": name}
|
||||
Reference in new issue
Block a user