🔥 Remove Python 3.9 specific files, no longer needed after updating translations (#14931)

This commit is contained in:
Sebastián Ramírez
2026-02-17 00:08:04 -08:00
committed by GitHub
parent ed12105cce
commit bbb96d4a0a
214 changed files with 28 additions and 3393 deletions

View File

@@ -1,14 +0,0 @@
import time
from fastapi import FastAPI, Request
app = FastAPI()
@app.middleware("http")
async def add_process_time_header(request: Request, call_next):
start_time = time.perf_counter()
response = await call_next(request)
process_time = time.perf_counter() - start_time
response.headers["X-Process-Time"] = str(process_time)
return response