- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Ball (0.19 sec)
-
docs/de/docs/tutorial/body-multiple-params.md
Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="19-21" {!> ../../../docs_src/body_multiple_params/tutorial001.py!} ``` !!! note "Hinweis" Beachten Sie, dass in diesem Fall das `item`, welches vom Body genommen wird, optional ist. Da es `None` als Defaultwert hat. ## Mehrere Body-Parameter Im vorherigen Beispiel erwartete die *Pfadoperation* einen JSON-Body mit den Attributen eines `Item`s, etwa:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 29 17:32:43 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
!!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="27" {!> ../../../docs_src/body_multiple_params/tutorial004.py!} ``` !!! info `Body` also has all the same extra validation and metadata parameters as `Query`,`Path` and others you will see later. ## Embed a single body parameter Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.7K bytes - Viewed (0)