Browse Source

🎨 Auto format

pull/14871/head
pre-commit-ci-lite[bot] 5 months ago
committed by GitHub
parent
commit
24b68a5fdb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/docs/tutorial/query-params-str-validations.md

2
docs/en/docs/tutorial/query-params-str-validations.md

@ -244,7 +244,7 @@ So, when you need to declare a value as required while using `Query`, you can si
{* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
### Required with `None` type { #required-can-be-none }
### Required with `None` type { #required-with-none-type }
You can declare that a parameter has a type that includes `None` (like `str | None`) but without a default value, which makes it required:

Loading…
Cancel
Save