mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
b57f2a43d9
commit
7da4475432
|
|
@ -390,7 +390,7 @@ But we are now declaring it with `Query`, for example like:
|
|||
```Python
|
||||
q: Annotated[str | None, Query(min_length=3)] = None
|
||||
```
|
||||
|
||||
|
||||
=== "Python 3.9+ Annotated"
|
||||
|
||||
```Python
|
||||
|
|
@ -402,7 +402,7 @@ But we are now declaring it with `Query`, for example like:
|
|||
```Python
|
||||
q: str | None = Query(default=None, min_length=3)
|
||||
```
|
||||
|
||||
|
||||
=== "Python 3.9+ non-Annotated"
|
||||
|
||||
```Python
|
||||
|
|
|
|||
Loading…
Reference in New Issue