fix: Ensure metadata propagation for `Task` `ToProto` and `FromProto`… · a2aproject/a2a-python@fc31d03 · GitHub
Skip to content

Commit fc31d03

Browse files
authored
fix: Ensure metadata propagation for Task ToProto and FromProto conversion (#557)
The `metadata` dictionary is now correctly propagated in both the `ToProto` (types.Task to a2a_pb2.Task) and `FromProto` (a2a_pb2.Task to types.Task) conversion utilities. Release-As:0.3.16 Fixes #541 🦕
1 parent fdb4731 commit fc31d03

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

‎src/a2a/utils/proto_utils.py‎

Lines changed: 2 additions & 0 deletions

‎tests/utils/test_proto_utils.py‎

Lines changed: 28 additions & 0 deletions

0 commit comments

Comments
 (0)