Skip to content

Commit b5f6bec

Browse files
konokenjanafalcaoleandrodamascena
authored
docs(bedrock_agents): remove Pydantic v1 recommendation (#6468)
* docs: Remove recommend for Pydantic v1 which not supported in v3 * remove pydantic v1 from rest api doc --------- Co-authored-by: Ana Falcão <[email protected]> Co-authored-by: Ana Falcao <[email protected]> Co-authored-by: Leandro Damascena <[email protected]>
1 parent 61b5b7d commit b5f6bec

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/core/event_handler/api_gateway.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ Event handler for Amazon API Gateway REST and HTTP APIs, Application Load Balanc
2222

2323
!!! info "This is not necessary if you're installing Powertools for AWS Lambda (Python) via [Lambda Layer/SAR](../../index.md#lambda-layer){target="_blank"}."
2424

25-
**When using the data validation feature**, you need to add `pydantic` as a dependency in your preferred tool _e.g., requirements.txt, pyproject.toml_.
26-
27-
As of now, both Pydantic V1 and V2 are supported. For a future major version, we will only support Pydantic V2.
25+
**When using the data validation feature**, you need to add `pydantic` as a dependency in your preferred tool _e.g., requirements.txt, pyproject.toml_. At this time, we only support Pydantic V2.
2826

2927
### Required resources
3028

docs/core/event_handler/bedrock_agents.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Create [Agents for Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/us
4040

4141
!!! info "This is unnecessary if you're installing Powertools for AWS Lambda (Python) via [Lambda Layer/SAR](../../index.md#lambda-layer){target="_blank"}."
4242

43-
You need to add `pydantic` as a dependency in your preferred tool _e.g., requirements.txt, pyproject.toml_. At this time, we only support Pydantic V1, due to an incompatibility with Pydantic V2 generated schemas and the Agents' API.
43+
You need to add `pydantic` as a dependency in your preferred tool _e.g., requirements.txt, pyproject.toml_. At this time, we only support Pydantic V2.
4444

4545
### Required resources
4646

0 commit comments

Comments
 (0)