From 5a8fbda0da8aa70da289576a88dc70128938b944 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 12:06:48 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/query-params-str-validations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/tutorial/query-params-str-validations.md b/docs/en/docs/tutorial/query-params-str-validations.md index f4611ee455..681853b27e 100644 --- a/docs/en/docs/tutorial/query-params-str-validations.md +++ b/docs/en/docs/tutorial/query-params-str-validations.md @@ -224,9 +224,9 @@ So, when you need to declare a value as required while using `Query`, you can si You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`. -However, **this does not apply to Query Parameters**. +However, **this does not apply to Query Parameters**. -Because query parameters are extracted from the URL, they are always parsed as strings. +Because query parameters are extracted from the URL, they are always parsed as strings. * If a user does not include the query parameter in the URL, FastAPI will return an error because the parameter is required (`= ...`). * If a user includes the parameter as `?q=None` or `?q=null`, FastAPI will read it as the literal string `"None"` or `"null"`, not the Python `None` object.