File tree 6 files changed +40
-34
lines changed 6 files changed +40
-34
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,20 @@ body:
56
56
attributes :
57
57
label : AWS Lambda function runtime
58
58
options :
59
- - label : " 3.6"
60
- - label : " 3.7"
61
- - label : " 3.8"
62
- - label : " 3.9"
59
+ - 3.6
60
+ - 3.7
61
+ - 3.8
62
+ - 3.9
63
63
validations :
64
64
required : true
65
65
- type : dropdown
66
66
id : packaging
67
67
attributes :
68
68
label : Packaging format used
69
69
options :
70
- - label : " Lambda Layers"
71
- - label : " Serverless Application Repository (SAR) App"
72
- - label : " PyPi"
70
+ - Lambda Layers
71
+ - Serverless Application Repository (SAR) App
72
+ - PyPi
73
73
multiple : true
74
74
validations :
75
75
required : true
Original file line number Diff line number Diff line change @@ -17,22 +17,22 @@ body:
17
17
attributes :
18
18
label : Which AWS Lambda Powertools utility does this relate to?
19
19
options :
20
- - label : " Tracer"
21
- - label : " Logger"
22
- - label : " Metrics"
23
- - label : " Event Handler - REST API"
24
- - label : " Event Handler - GraphQL API"
25
- - label : " Middleware factory"
26
- - label : " Parameters"
27
- - label : " Batch processing"
28
- - label : " Typing"
29
- - label : " Validation"
30
- - label : " Event Source Data Classes"
31
- - label : " Parser"
32
- - label : " Idempotency"
33
- - label : " Feature flags"
34
- - label : " JMESPath functions"
35
- - label : " Other"
20
+ - Tracer
21
+ - Logger
22
+ - Metrics
23
+ - Event Handler - REST API
24
+ - Event Handler - GraphQL API
25
+ - Middleware factory
26
+ - Parameters
27
+ - Batch processing
28
+ - Typing
29
+ - Validation
30
+ - Event Source Data Classes
31
+ - Parser
32
+ - Idempotency
33
+ - Feature flags
34
+ - JMESPath functions
35
+ - Other
36
36
validations :
37
37
required : true
38
38
- type : textarea
Original file line number Diff line number Diff line change @@ -14,21 +14,21 @@ body:
14
14
attributes :
15
15
label : Static type checker used
16
16
options :
17
- - label : " mypy (project's standard)"
18
- - label : " pyright/pylance"
19
- - label : " pyre"
20
- - label : " pytype"
17
+ - mypy (project's standard)
18
+ - pyright/pylance
19
+ - pyre
20
+ - pytype
21
21
validations :
22
22
required : true
23
23
- type : dropdown
24
24
id : runtime
25
25
attributes :
26
26
label : AWS Lambda function runtime
27
27
options :
28
- - label : " 3.6"
29
- - label : " 3.7"
30
- - label : " 3.8"
31
- - label : " 3.9"
28
+ - " 3.6
29
+ - " 3.7
30
+ - " 3.8
31
+ - " 3.9
32
32
validations :
33
33
required : true
34
34
- type : input
Original file line number Diff line number Diff line change 39
39
- name : Complexity baseline
40
40
run : make complexity-baseline
41
41
- name : Upload coverage to Codecov
42
- uses : codecov/codecov-action@v2.1 .0
42
+ uses : codecov/codecov-action@v3.0 .0
43
43
with :
44
44
file : ./coverage.xml
45
45
# flags: unittests
Original file line number Diff line number Diff line change 15
15
mkdir -p ./pr
16
16
echo ${{ github.event.number }} > ./pr/number
17
17
echo "${{ github.event.pull_request.title }}" > ./pr/title
18
- - uses : actions/upload-artifact@v2
18
+ - uses : actions/upload-artifact@v3
19
19
with :
20
20
name : pr
21
21
path : pr/
Original file line number Diff line number Diff line change @@ -14,7 +14,13 @@ This utility provides data parsing and deep validation using [Pydantic](https://
14
14
** Extra dependency**
15
15
16
16
???+ warning
17
- This will increase the overall package size by approximately 75MB due to Pydantic dependency.
17
+
18
+ This will increase the compressed package size by >10MB due to the Pydantic dependency.
19
+
20
+ To reduce the impact on the package size at the expense of 30%-50% of its performance [Pydantic can also be
21
+ installed without binary files](https://pydantic-docs.helpmanual.io/install/#performance-vs-package-size-trade-off):
22
+
23
+ `SKIP_CYTHON=1 pip install --no-binary pydantic aws-lambda-powertools[pydantic]`
18
24
19
25
Install parser's extra dependencies using ** ` pip install aws-lambda-powertools[pydantic] ` ** .
20
26
You can’t perform that action at this time.
0 commit comments