Skip to content

Commit db68b6e

Browse files
author
Michael Brewer
authored
Merge branch 'awslabs:develop' into fix-1025-v2
2 parents a3c10fa + 91734a4 commit db68b6e

File tree

6 files changed

+40
-34
lines changed

6 files changed

+40
-34
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ body:
5656
attributes:
5757
label: AWS Lambda function runtime
5858
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
6363
validations:
6464
required: true
6565
- type: dropdown
6666
id: packaging
6767
attributes:
6868
label: Packaging format used
6969
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
7373
multiple: true
7474
validations:
7575
required: true

.github/ISSUE_TEMPLATE/rfc.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ body:
1717
attributes:
1818
label: Which AWS Lambda Powertools utility does this relate to?
1919
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
3636
validations:
3737
required: true
3838
- type: textarea

.github/ISSUE_TEMPLATE/static_typing.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ body:
1414
attributes:
1515
label: Static type checker used
1616
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
2121
validations:
2222
required: true
2323
- type: dropdown
2424
id: runtime
2525
attributes:
2626
label: AWS Lambda function runtime
2727
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
3232
validations:
3333
required: true
3434
- type: input

.github/workflows/python_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Complexity baseline
4040
run: make complexity-baseline
4141
- name: Upload coverage to Codecov
42-
uses: codecov/codecov-action@v2.1.0
42+
uses: codecov/codecov-action@v3.0.0
4343
with:
4444
file: ./coverage.xml
4545
# flags: unittests

.github/workflows/record_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
mkdir -p ./pr
1616
echo ${{ github.event.number }} > ./pr/number
1717
echo "${{ github.event.pull_request.title }}" > ./pr/title
18-
- uses: actions/upload-artifact@v2
18+
- uses: actions/upload-artifact@v3
1919
with:
2020
name: pr
2121
path: pr/

docs/utilities/parser.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ This utility provides data parsing and deep validation using [Pydantic](https://
1414
**Extra dependency**
1515

1616
???+ 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]`
1824

1925
Install parser's extra dependencies using **`pip install aws-lambda-powertools[pydantic]`**.
2026

0 commit comments

Comments
 (0)