Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Translating the text changed the icon and coloring of the box
  • Loading branch information
nilslindemann committed Sep 26, 2023
1 parent 05260a3 commit c53f17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/de/docs/tutorial/body.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ die Funktionsparameter werden wie folgt erkannt:
* Wenn der Parameter ein **einfacher Typ** ist (wie `int`, `float`, `str`, `bool`, usw.), wird er als **Query**-Parameter interpretiert.
* Wenn der Parameter vom Typ eines **Pydantic Modells** ist, wird er als Request-**Body** interpretiert.

!!! Hinweis
!!! note "Hinweis"
FastAPI weiß, dass der Wert von `q` nicht erforderlich ist, wegen des definierten Defaultwertes `=None`

Das `Union` in `Union[str, None]` wird von FastAPI nicht verwendet, aber es erlaubt Ihrem Editor, Sie besser zu unterstützen und Fehler zu erkennen.
Expand Down

0 comments on commit c53f17f

Please sign in to comment.