Skip to content

Commit

Permalink
🌐 Add Korean translation for `/docs/ko/docs/tutorial/dependencies/glo…
Browse files Browse the repository at this point in the history
…bal-dependencies.md` (#11123)
  • Loading branch information
riroan committed Feb 14, 2024
1 parent a315048 commit b8941c3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/ko/docs/tutorial/dependencies/global-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# μ „μ—­ μ˜μ‘΄μ„±

λͺ‡λͺ‡ μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ—μ„œλŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜ 전체에 μ˜μ‘΄μ„±μ„ μΆ”κ°€ν•˜κ³  싢을 수 μžˆμŠ΅λ‹ˆλ‹€.

[*경둜 μž‘λ™ λ°μ½”λ ˆμ΄ν„°*에 `dependencies` μΆ”κ°€ν•˜κΈ°](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}와 μœ μ‚¬ν•œ λ°©λ²•μœΌλ‘œ `FastAPI` μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ— 그것듀을 μΆ”κ°€ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

그런 κ²½μš°μ—, μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ˜ λͺ¨λ“  *경둜 μž‘λ™*에 적용될 κ²ƒμž…λ‹ˆλ‹€:

=== "Python 3.9+"

```Python hl_lines="16"
{!> ../../../docs_src/dependencies/tutorial012_an_py39.py!}
```

=== "Python 3.8+"

```Python hl_lines="16"
{!> ../../../docs_src/dependencies/tutorial012_an.py!}
```

=== "Python 3.8 Annotatedκ°€ μ—†λŠ” 경우"

!!! tip "팁"
κ°€λŠ₯ν•˜λ‹€λ©΄ `Annotated`κ°€ 달린 버전을 ꢌμž₯ν•©λ‹ˆλ‹€.

```Python hl_lines="15"
{!> ../../../docs_src/dependencies/tutorial012.py!}
```

그리고 [*경둜 μž‘λ™ λ°μ½”λ ˆμ΄ν„°*에 `dependencies` μΆ”κ°€ν•˜κΈ°](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}에 λŒ€ν•œ μ•„μ΄λ””μ–΄λŠ” μ—¬μ „νžˆ μ μš©λ˜μ§€λ§Œ μ—¬κΈ°μ—μ„œλŠ” 앱에 μžˆλŠ” λͺ¨λ“  *경둜 μž‘λ™*에 μ μš©λ©λ‹ˆλ‹€.

## *경둜 μž‘λ™* λͺ¨μŒμ— λŒ€ν•œ μ˜μ‘΄μ„±

이후에 μ—¬λŸ¬ νŒŒμΌλ“€μ„ κ°€μ§€λŠ” 더 큰 μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ„ κ΅¬μ‘°ν™”ν•˜λŠ” 법([더 큰 μ• ν”Œλ¦¬μΌ€μ΄μ…˜ - μ—¬λŸ¬ νŒŒμΌλ“€](../../tutorial/bigger-applications.md){.internal-link target=_blank})을 읽을 λ•Œ, *경둜 μž‘λ™* λͺ¨μŒμ— λŒ€ν•œ 단일 `dependencies` λ§€κ°œλ³€μˆ˜λ₯Ό μ„ μ–Έν•˜λŠ” 법에 λŒ€ν•΄μ„œ 배우게 될 κ²ƒμž…λ‹ˆλ‹€.

0 comments on commit b8941c3

Please sign in to comment.