Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and broken link in TypeAdapter description in "Why" docs #8703

Merged
merged 1 commit into from Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/why.md
Expand Up @@ -272,7 +272,7 @@ Pydantic provides four ways to create schemas and perform validation and seriali

1. [`BaseModel`](concepts/models.md) — Pydantic's own super class with many common utilities available via instance methods.
2. [`pydantic.dataclasses.dataclass`](concepts/dataclasses.md) — a wrapper around standard dataclasses which performs validation when a dataclass is initialized.
3. [`TypeAdapter`][pydantic.type_adapter.TypeAdapter] — a general way to adapt any type for validation and serialization. This allows types like [`TypedDict`](api/standard_library_types.md#typeddict) and [`NampedTuple`](api/standard_library_types.md#namedtuple) to be validated as well as simple scalar values like `int` or `timedelta` — [all types](concepts/types.md) supported can be used with `TypeAdapter`.
3. [`TypeAdapter`][pydantic.type_adapter.TypeAdapter] — a general way to adapt any type for validation and serialization. This allows types like [`TypedDict`](api/standard_library_types.md#typeddict) and [`NamedTuple`](api/standard_library_types.md#typingnamedtuple) to be validated as well as simple scalar values like `int` or `timedelta` — [all types](concepts/types.md) supported can be used with `TypeAdapter`.
4. [`validate_call`](concepts/validation_decorator.md) — a decorator to perform validation when calling a function.

??? example "Example - schema based on TypedDict"
Expand Down