Skip to content

Docs: update Bedrock Agents for Pydantic v2 support #6476

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

Closed
1 task done
anafalcao opened this issue Apr 15, 2025 · 1 comment · Fixed by #6468
Closed
1 task done

Docs: update Bedrock Agents for Pydantic v2 support #6476

anafalcao opened this issue Apr 15, 2025 · 1 comment · Fixed by #6468
Assignees
Labels
documentation Improvements or additions to documentation event_handlers

Comments

@anafalcao
Copy link
Contributor

What were you searching in the docs?

In the Bedrock Agents install section, it's stated that it only supports Pydantic V1, due to an incompatibility with Pydantic V2 generated schemas and the Agents' API. This was addressed and fixed by #5156.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/bedrock_agents/#install

How can we improve?

Since June, 2024, Pydantic v1 has reached its end-of-life, and Powertools have discontinued support for this version, exclusively supportting Pydantic v2. So we should make this clear in this part of the documentation, to avoid users to rely on Pydantic v1 only for this topic.

Got a suggestion in mind?

Change the doc to remove the "only support Pydantic V1".

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.
@anafalcao anafalcao added documentation Improvements or additions to documentation triage Pending triage from maintainers labels Apr 15, 2025
@anafalcao anafalcao added event_handlers and removed triage Pending triage from maintainers labels Apr 15, 2025
@anafalcao anafalcao linked a pull request Apr 15, 2025 that will close this issue
7 tasks
@anafalcao anafalcao self-assigned this Apr 15, 2025
@anafalcao anafalcao moved this from Triage to Pending review in Powertools for AWS Lambda (Python) Apr 15, 2025
@github-project-automation github-project-automation bot moved this from Pending review to Coming soon in Powertools for AWS Lambda (Python) Apr 15, 2025
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation event_handlers
Projects
Status: Coming soon
Development

Successfully merging a pull request may close this issue.

1 participant