Skip to content

Commit d5ed06b

Browse files
committed
docs: Show explicit pydantic install in input validation guide
1 parent a0a10f9 commit d5ed06b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/03_guides/11_pydantic.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ An Actor reads its input with <ApiLink to="class/Actor#get_input">`Actor.get_inp
3131

3232
[Pydantic](https://docs.pydantic.dev/) solves all of these problems. You declare the shape of your input once as a model, and Pydantic parses the raw dictionary into a typed object, applies defaults, enforces constraints, and produces clear error messages when the input doesn't match.
3333

34-
Pydantic is already a dependency of the Apify SDK, so you don't have to install anything.
34+
To use Pydantic, install it into your Actor's environment:
35+
36+
```bash
37+
pip install pydantic
38+
```
3539

3640
## Example Actor
3741

0 commit comments

Comments
 (0)