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,16 +0,0 @@
|
||||
from fastapi import FastAPI
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
openapi_url: str = "/openapi.json"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
|
||||
app = FastAPI(openapi_url=settings.openapi_url)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def root():
|
||||
return {"message": "Hello World"}
|
||||
Reference in new issue
Block a user