Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added None value for pydantic validation #490

Merged
merged 1 commit into from
May 22, 2024

Conversation

JeromeGuyon
Copy link
Contributor

@JeromeGuyon JeromeGuyon commented May 14, 2024

Issue #, if available:

UI not able to list Document in workspace for example, with Console log :
"Field required [type=missing, " for ListDocumentsRequest

Is related to pydantic parser validation from lambda powertools

https://docs.powertools.aws.dev/lambda/python/latest/utilities/parser/

Description of changes:

Optionnal Type is not sufficient, we need to initialize Optional fields to None

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bigadsoleiman bigadsoleiman merged commit 372710a into aws-samples:main May 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants