Browse Source

Intermezzo: Undo changes in two English documents

I guess these html elements were used purposefully because of rendering issues.
pull/14015/head
Nils Lindemann 2 weeks ago
parent
commit
69255ea21d
  1. 6
      docs/de/docs/tutorial/path-params-numeric-validations.md
  2. 2
      docs/de/docs/tutorial/request-files.md
  3. 6
      docs/en/docs/tutorial/path-params-numeric-validations.md
  4. 2
      docs/en/docs/tutorial/request-files.md

6
docs/de/docs/tutorial/path-params-numeric-validations.md

@ -91,7 +91,7 @@ Wenn Sie:
Übergeben Sie `*`, als den ersten Parameter der Funktion. Ü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 <abbr title="Von: K-ey W-ord Arg-uments">`kwargs`</abbr>. 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 <abbr title="Von: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Selbst wenn diese keinen Defaultwert haben.
{* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} {* ../../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). Zahlenvalidierung funktioniert auch für `float`-Werte (deutsch: Fließkommazahlen).
Hier wird es wichtig, in der Lage zu sein, <abbr title="greater than">`gt`</abbr> und nicht nur <abbr title="greater than or equal">`ge`</abbr> 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, <abbr title="greater than"><code>gt</code></abbr> und nicht nur <abbr title="greater than or equal"><code>ge</code></abbr> 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. Also wäre `0.5` ein gültiger Wert. Aber `0.0` oder `0` nicht.
Und das Gleiche gilt für <abbr title="less than">`lt`</abbr>. Und das Gleiche gilt für <abbr title="less than"><code>lt</code></abbr>.
{* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *} {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *}

2
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. 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 <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr>-Webdokumentation für `POST`</a>. Wenn Sie mehr über diese Kodierungen und Formularfelder lesen möchten, besuchen Sie die <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr>-Webdokumentation für <code>POST</code></a>.
/// ///

6
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. 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 <abbr title="From: K-ey W-ord Arg-uments">`kwargs`</abbr>. 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 <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
{* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} {* ../../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. Number validations also work for `float` values.
Here's where it becomes important to be able to declare <abbr title="greater than">`gt`</abbr> and not just <abbr title="greater than or equal">`ge`</abbr>. 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 <abbr title="greater than"><code>gt</code></abbr> and not just <abbr title="greater than or equal"><code>ge</code></abbr>. 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. So, `0.5` would be a valid value. But `0.0` or `0` would not.
And the same for <abbr title="less than">`lt`</abbr>. And the same for <abbr title="less than"><code>lt</code></abbr>.
{* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *} {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *}

2
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. 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 <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> web docs for `POST`</a>. If you want to read more about these encodings and form fields, head to the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> web docs for <code>POST</code></a>.
/// ///

Loading…
Cancel
Save