Skip to content

Commit 1cf39f2

Browse files
Final adjustments in Parser documentation
1 parent 8746dc6 commit 1cf39f2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/utilities/parser.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,17 @@ This utility provides data parsing and deep validation using [Pydantic](https://
1111
* Defines data in pure Python classes, then parse, validate and extract only what you want
1212
* Built-in envelopes to unwrap, extend, and validate popular event sources payloads
1313
* Enforces type hints at runtime with user-friendly errors
14-
* Support for Pydantic v2
14+
* Support only Pydantic v2
1515

1616
## Getting started
1717

1818
### Install
1919

20-
Powertools for AWS Lambda (Python) supports Pydantic v2.
20+
!!! info "This is not necessary if you're installing Powertools for AWS Lambda (Python) via [Lambda Layer/SAR](../index.md#lambda-layer){target="_blank"}"
2121

22-
#### Using Pydantic v2
22+
You need to bring Pydantic v2.0.3 or later as an external dependency.
2323

24-
You need to bring Pydantic v2.0.3 or later as an external dependency. Note that [we suppress Pydantic v2 deprecation warnings](https://github.com/aws-powertools/powertools-lambda-python/issues/2672){target="_blank"} to reduce noise and optimize log costs.
25-
26-
Add `aws-lambda-powertools` and `pydantic>=2.0.3` as a dependency in your preferred tool: _e.g._, _requirements.txt_, _pyproject.toml_.
24+
Add `aws-lambda-powertools[parser]` as a dependency in your preferred tool: _e.g._, _requirements.txt_, _pyproject.toml_.
2725

2826
### Defining models
2927

0 commit comments

Comments
 (0)