From 69255ea21d8cd460690e242e1bc9cb772e4ea00d Mon Sep 17 00:00:00 2001 From: Nils Lindemann Date: Sat, 23 Aug 2025 16:03:33 +0200 Subject: [PATCH] Intermezzo: Undo changes in two English documents I guess these html elements were used purposefully because of rendering issues. --- docs/de/docs/tutorial/path-params-numeric-validations.md | 6 +++--- docs/de/docs/tutorial/request-files.md | 2 +- docs/en/docs/tutorial/path-params-numeric-validations.md | 6 +++--- docs/en/docs/tutorial/request-files.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/de/docs/tutorial/path-params-numeric-validations.md b/docs/de/docs/tutorial/path-params-numeric-validations.md index e1ecced9b..75a1e548b 100644 --- a/docs/de/docs/tutorial/path-params-numeric-validations.md +++ b/docs/de/docs/tutorial/path-params-numeric-validations.md @@ -91,7 +91,7 @@ Wenn Sie: Übergeben Sie `*`, als den ersten Parameter der Funktion. -Python wird nichts mit diesem `*` machen, aber es wird wissen, dass alle folgenden Parameter als Schlüsselwortargumente (Schlüssel-Wert-Paare) verwendet werden sollen, auch bekannt als `kwargs`. Selbst wenn diese keinen Defaultwert haben. +Python wird nichts mit diesem `*` machen, aber es wird wissen, dass alle folgenden Parameter als Schlüsselwortargumente (Schlüssel-Wert-Paare) verwendet werden sollen, auch bekannt als kwargs. Selbst wenn diese keinen Defaultwert haben. {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} @@ -122,11 +122,11 @@ Das Gleiche gilt für: Zahlenvalidierung funktioniert auch für `float`-Werte (deutsch: Fließkommazahlen). -Hier wird es wichtig, in der Lage zu sein, `gt` und nicht nur `ge` zu deklarieren. Da Sie mit dieser Option erzwingen können, dass ein Wert größer als `0` sein muss, selbst wenn er kleiner als `1` ist. +Hier wird es wichtig, in der Lage zu sein, gt und nicht nur ge zu deklarieren. Da Sie mit dieser Option erzwingen können, dass ein Wert größer als `0` sein muss, selbst wenn er kleiner als `1` ist. Also wäre `0.5` ein gültiger Wert. Aber `0.0` oder `0` nicht. -Und das Gleiche gilt für `lt`. +Und das Gleiche gilt für lt. {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *} diff --git a/docs/de/docs/tutorial/request-files.md b/docs/de/docs/tutorial/request-files.md index 32b1c2f59..6d128a6ac 100644 --- a/docs/de/docs/tutorial/request-files.md +++ b/docs/de/docs/tutorial/request-files.md @@ -121,7 +121,7 @@ Daten aus Formularen werden, wenn es keine Dateien sind, normalerweise mit dem < Sollte das Formular aber Dateien enthalten, dann werden diese mit `multipart/form-data` kodiert. Wenn Sie `File` verwenden, wird **FastAPI** wissen, dass es die Dateien vom korrekten Teil des Bodys holen muss. -Wenn Sie mehr über diese Kodierungen und Formularfelder lesen möchten, besuchen Sie die MDN-Webdokumentation für `POST`. +Wenn Sie mehr über diese Kodierungen und Formularfelder lesen möchten, besuchen Sie die MDN-Webdokumentation für POST. /// diff --git a/docs/en/docs/tutorial/path-params-numeric-validations.md b/docs/en/docs/tutorial/path-params-numeric-validations.md index 251a7db75..435606bbf 100644 --- a/docs/en/docs/tutorial/path-params-numeric-validations.md +++ b/docs/en/docs/tutorial/path-params-numeric-validations.md @@ -91,7 +91,7 @@ If you want to: Pass `*`, as the first parameter of the function. -Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as `kwargs`. Even if they don't have a default value. +Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as kwargs. Even if they don't have a default value. {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} @@ -122,11 +122,11 @@ The same applies for: Number validations also work for `float` values. -Here's where it becomes important to be able to declare `gt` and not just `ge`. As with it you can require, for example, that a value must be greater than `0`, even if it is less than `1`. +Here's where it becomes important to be able to declare gt and not just ge. As with it you can require, for example, that a value must be greater than `0`, even if it is less than `1`. So, `0.5` would be a valid value. But `0.0` or `0` would not. -And the same for `lt`. +And the same for lt. {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *} diff --git a/docs/en/docs/tutorial/request-files.md b/docs/en/docs/tutorial/request-files.md index 2b4b38ddf..3d6e9c18a 100644 --- a/docs/en/docs/tutorial/request-files.md +++ b/docs/en/docs/tutorial/request-files.md @@ -121,7 +121,7 @@ Data from forms is normally encoded using the "media type" `application/x-www-fo But when the form includes files, it is encoded as `multipart/form-data`. If you use `File`, **FastAPI** will know it has to get the files from the correct part of the body. -If you want to read more about these encodings and form fields, head to the MDN web docs for `POST`. +If you want to read more about these encodings and form fields, head to the MDN web docs for POST. ///