Skip to content

Commit 3968cf0

Browse files
Addressing Andrea's feedback
1 parent c711d9a commit 3968cf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/upgrade.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ def lambda_handler(event: DynamoDBStreamModel, context: LambdaContext):
9494

9595
## Importing Pydantic objects
9696

97-
We have stopped exporting Pydantic objects directly from `aws_lambda_powertools.utilities.parser.pydantic` to prevent potential confusion caused by Pydantic V2's significant changes in type, class, and method exports.
98-
99-
This change prevents customers from accidentally importing all of Pydantic, which could significantly slow down function startup times.
97+
We have stopped exporting Pydantic objects directly from `aws_lambda_powertools.utilities.parser.pydantic`. This change prevents customers from accidentally importing all of Pydantic, which could significantly slow down function startup times.
10098

10199
```diff
102100
- #BEFORE - v2

0 commit comments

Comments
 (0)