Closed
Description
Use case
To facilitate migration from v2 to v3, it would be advantageous to include pydantic-settings
as an optional dependency in the v3 layer. This is because v3 relies on Pydantic v2, necessitating the import of BaseSettings from pydantic-settings
, which is currently absent from the v3 layer.
Solution/User Experience
Since this is not directly related to parser
library, it would be better to included in the all option like the following:
[tool.poetry.extras]
parser = ["pydantic"]
validation = ["fastjsonschema"]
tracer = ["aws-xray-sdk"]
redis = ["redis"]
all = [
"pydantic",
"pydantic-settings",
"aws-xray-sdk",
"fastjsonschema",
"aws-encryption-sdk",
"jsonpath-ng"
]
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped