mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-04 23:23:38 -04:00
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075)
This commit is contained in:
@@ -21,6 +21,6 @@ def query_or_cookie_extractor(
|
||||
|
||||
@app.get("/items/")
|
||||
async def read_query(
|
||||
query_or_default: Annotated[str, Depends(query_or_cookie_extractor)]
|
||||
query_or_default: Annotated[str, Depends(query_or_cookie_extractor)],
|
||||
):
|
||||
return {"q_or_cookie": query_or_default}
|
||||
|
||||
Reference in New Issue
Block a user