From ffd194c10597a330d1185e6db0a35bd2e4069345 Mon Sep 17 00:00:00 2001 From: Akshat Kumar Date: Fri, 13 Mar 2026 08:44:30 +0530 Subject: [PATCH] fix(compat): allow DataPart.data to accept Any to align with spec Signed-off-by: Akshat Kumar --- src/a2a/compat/v0_3/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/a2a/compat/v0_3/types.py b/src/a2a/compat/v0_3/types.py index 918a06b5e..94b297807 100644 --- a/src/a2a/compat/v0_3/types.py +++ b/src/a2a/compat/v0_3/types.py @@ -274,7 +274,7 @@ class DataPart(A2ABaseModel): Represents a structured data segment (e.g., JSON) within a message or artifact. """ - data: dict[str, Any] + data: Any """ The structured data content. """