Skip to content

Commit

Permalink
Sync with tiangolo#10442
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslindemann committed Oct 17, 2023
1 parent e5a7cd9 commit 00acfae
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/de/docs/tutorial/body-nested-models.md
Expand Up @@ -12,7 +12,7 @@ Sie können ein Attribut als Sub-Typ definieren, zum Beispiel eine Python `list`
{!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="14"
{!> ../../../docs_src/body_nested_models/tutorial001.py!}
Expand Down Expand Up @@ -73,7 +73,7 @@ In unserem Beispiel können wir also bewirken, dass `tags` spezifisch eine "List
{!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="14"
{!> ../../../docs_src/body_nested_models/tutorial002.py!}
Expand All @@ -99,7 +99,7 @@ Deklarieren wir also `tags` als Set von Strings.
{!> ../../../docs_src/body_nested_models/tutorial003_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="1 14"
{!> ../../../docs_src/body_nested_models/tutorial003.py!}
Expand Down Expand Up @@ -137,7 +137,7 @@ Wir können zum Beispiel ein `Image`-Modell definieren.
{!> ../../../docs_src/body_nested_models/tutorial004_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="9-11"
{!> ../../../docs_src/body_nested_models/tutorial004.py!}
Expand All @@ -159,7 +159,7 @@ Und dann können wir es als Typ eines Attributes verwenden.
{!> ../../../docs_src/body_nested_models/tutorial004_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="20"
{!> ../../../docs_src/body_nested_models/tutorial004.py!}
Expand Down Expand Up @@ -208,7 +208,7 @@ Da wir zum Beispiel im `Image`-Modell ein Feld `url` haben, können wir deklarie
{!> ../../../docs_src/body_nested_models/tutorial005_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="4 10"
{!> ../../../docs_src/body_nested_models/tutorial005.py!}
Expand All @@ -232,7 +232,7 @@ Sie können Pydantic-Modelle auch als Typen innerhalb von `list`, `set`, usw. ve
{!> ../../../docs_src/body_nested_models/tutorial006_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="20"
{!> ../../../docs_src/body_nested_models/tutorial006.py!}
Expand Down Expand Up @@ -283,7 +283,7 @@ Sie können beliebig tief verschachtelte Modelle definieren:
{!> ../../../docs_src/body_nested_models/tutorial007_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="9 14 20 23 27"
{!> ../../../docs_src/body_nested_models/tutorial007.py!}
Expand Down Expand Up @@ -314,7 +314,7 @@ so wie in:
{!> ../../../docs_src/body_nested_models/tutorial008_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="15"
{!> ../../../docs_src/body_nested_models/tutorial008.py!}
Expand Down Expand Up @@ -354,7 +354,7 @@ Im folgenden Beispiel akzeptieren Sie irgendein `dict`, solange es `int`-Schlüs
{!> ../../../docs_src/body_nested_models/tutorial009_py39.py!}
```

=== "Python 3.6+"
=== "Python 3.8+"

```Python hl_lines="9"
{!> ../../../docs_src/body_nested_models/tutorial009.py!}
Expand Down

0 comments on commit 00acfae

Please sign in to comment.