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 f7f4888 commit 35d34f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/de/docs/tutorial/security/first-steps.md
Expand Up @@ -26,13 +26,13 @@ Kopieren Sie das Beispiel in eine Datei `main.py`:
{!> ../../../docs_src/security/tutorial001_an_py39.py!}
```

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

```Python
{!> ../../../docs_src/security/tutorial001_an.py!}
```

=== "Python 3.6+ nicht annotiert"
=== "Python 3.8+ nicht annotiert"

!!! tip
Bevorzugen Sie die `Annotated`-Version, falls möglich.
Expand Down Expand Up @@ -139,13 +139,13 @@ Wenn wir eine Instanz der Klasse `OAuth2PasswordBearer` erstellen, übergeben wi
{!> ../../../docs_src/security/tutorial001_an_py39.py!}
```

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

```Python hl_lines="7"
{!> ../../../docs_src/security/tutorial001_an.py!}
```

=== "Python 3.6+ nicht annotiert"
=== "Python 3.8+ nicht annotiert"

!!! tip
Bevorzugen Sie die `Annotated`-Version, falls möglich.
Expand Down Expand Up @@ -190,13 +190,13 @@ Jetzt können Sie dieses `oauth2_scheme` als Abhängigkeit `Depends` übergeben.
{!> ../../../docs_src/security/tutorial001_an_py39.py!}
```

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

```Python hl_lines="11"
{!> ../../../docs_src/security/tutorial001_an.py!}
```

=== "Python 3.6+ nicht annotiert"
=== "Python 3.8+ nicht annotiert"

!!! tip
Bevorzugen Sie die `Annotated`-Version, falls möglich.
Expand Down

0 comments on commit 35d34f1

Please sign in to comment.