Closed
Description
Expected Behaviour
As per the documentation FAQ I would expect to be able to import X from pydantic to include types such as EmailStr
Current Behaviour
Currently in 3.0.0 we are unable to import pydantic types via the parser.
Code snippet
from aws_lambda_powertools.utilities.parser.pydantic import EmailStr
Possible Solution
Update documentation to include the recommended way to import X from pydantic, or implement the feature that was available in 2.X.
Steps to Reproduce
Try and import a pydantic type from aws_lambda_powertools.utilities.parser.pydantic, which no longer exists.
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
PyPi
Debugging logs
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Closed