Skip to content

Commit

Permalink
Fix bullets in Strict Mode docs (pydantic#9296)
Browse files Browse the repository at this point in the history
  • Loading branch information
swelborn authored Apr 21, 2024
1 parent 77b0e1c commit a0f18e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/concepts/strict_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ except ValidationError as exc:
```

There are various ways to get strict-mode validation while using Pydantic, which will be discussed in more detail below:

* [Passing `strict=True` to the validation methods](#strict-mode-in-method-calls), such as `BaseModel.model_validate`,
`TypeAdapter.validate_python`, and similar for JSON
* [Using `Field(strict=True)`](#strict-mode-with-field) with fields of a `BaseModel`, `dataclass`, or `TypedDict`
Expand Down

0 comments on commit a0f18e3

Please sign in to comment.