🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2025-11-10 10:16:31 +00:00
parent bb64c976b9
commit 58f9c57a47
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ def nullable_str(val: str) -> Union[str, None]:
@app.get("/items/")
async def read_items(
q: Annotated[Optional[str], Query(min_length=3), BeforeValidator(nullable_str)]
q: Annotated[Optional[str], Query(min_length=3), BeforeValidator(nullable_str)],
):
return {"q": q}