mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-22 09:55:32 -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
@@ -7,7 +7,7 @@ app = FastAPI()
|
||||
|
||||
@app.get("/items/")
|
||||
async def read_items(
|
||||
hidden_query: Union[str, None] = Query(default=None, include_in_schema=False)
|
||||
hidden_query: Union[str, None] = Query(default=None, include_in_schema=False),
|
||||
):
|
||||
if hidden_query:
|
||||
return {"hidden_query": hidden_query}
|
||||
|
||||
Reference in new issue
Block a user