mirror of https://github.com/tiangolo/fastapi.git
Update pydantic docs url
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
This commit is contained in:
parent
6132e90082
commit
1eee9c096d
|
|
@ -166,7 +166,7 @@ To do that, use the standard Python union syntax:
|
|||
|
||||
/// note
|
||||
|
||||
When defining a union, include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `PlaneItem | CarItem`.
|
||||
When defining a [union](https://docs.pydantic.dev/latest/concepts/unions/), include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `PlaneItem | CarItem`.
|
||||
|
||||
///
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue