mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-24 02:38:13 -05:00
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075)
This commit is contained in:
@@ -7,6 +7,6 @@ app = FastAPI()
|
||||
|
||||
@app.get("/items/")
|
||||
async def read_items(
|
||||
strange_header: Union[str, None] = Header(default=None, convert_underscores=False)
|
||||
strange_header: Union[str, None] = Header(default=None, convert_underscores=False),
|
||||
):
|
||||
return {"strange_header": strange_header}
|
||||
|
||||
Reference in New Issue
Block a user