Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 5, 2024
1 parent b57f2a4 commit 7da4475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/docs/tutorial/query-params-str-validations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7da4475

Please sign in to comment.