File tree 1 file changed +8
-9
lines changed 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,21 @@ This utility provides data parsing and deep validation using [Pydantic](https://
12
12
* Built-in envelopes to unwrap, extend, and validate popular event sources payloads
13
13
* Enforces type hints at runtime with user-friendly errors
14
14
15
- ** Extra dependency **
15
+ ## Getting started
16
16
17
- ???+ warning
17
+ ### Install
18
18
19
+ !!! info "This is not necessary if you're using Lambda Layer"
20
+
21
+ Add ` aws-lambda-powertools[parser] ` in your preferred dependency management tool.
22
+
23
+ ???+ warning
19
24
This will increase the compressed package size by >10MB due to the Pydantic dependency.
20
25
21
26
To reduce the impact on the package size at the expense of 30%-50% of its performance [Pydantic can also be
22
27
installed without binary files](https://pydantic-docs.helpmanual.io/install/#performance-vs-package-size-trade-off):
23
28
24
- `SKIP_CYTHON=1 pip install --no-binary pydantic aws-lambda-powertools[pydantic]`
25
-
26
- Install parser's extra dependencies using ** ` pip install aws-lambda-powertools[pydantic] ` ** .
27
-
28
- ## Getting started
29
-
30
- ### Install
29
+ Pip example: `SKIP_CYTHON=1 pip install --no-binary pydantic aws-lambda-powertools[parser]`
31
30
32
31
### Defining models
33
32
You can’t perform that action at this time.
0 commit comments