mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-20 00:53:45 -04:00
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075)
This commit is contained in:
1 parent
b0dd4f7bfc
commit
5ccc869fee
44 files changed
+76
-76
No files matched your search
@@ -20,6 +20,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