Skip to content

Docs: update Bedrock Agents for Pydantic v2 support #6476

Closed
@anafalcao

Description

@anafalcao

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions