Browse Source

Update docs/ko/docs/tutorial/extra-models.md

change word '타입 주석' to '타입 어노테이션'

Co-authored-by: Lee Yesong (이예송) <[email protected]>
pull/13063/head
timothy 2 months ago
committed by jts8257
parent
commit
d6fbfc68c9
  1. 2
      docs/ko/docs/tutorial/extra-models.md

2
docs/ko/docs/tutorial/extra-models.md

@ -188,7 +188,7 @@ OpenAPI에서는 이를 `anyOf`로 정의합니다.
이 경우, 이를 **타입 어노테이션(type annotation)** 이 아닌 **인자 값(argument value)** 으로 전달하고 있기 때문에 Python 3.10에서도 `Union`을 사용해야 합니다.
만약 타입 주석에 사용한다면, 다음과 같이 수직 막대(|)를 사용할 수 있습니다:
만약 타입 어노테이션에 사용한다면, 다음과 같이 수직 막대(|)를 사용할 수 있습니다:
```Python
some_variable: PlaneItem | CarItem

Loading…
Cancel
Save