Skip to content

Commit 81a7f23

Browse files
authored
Update src/a2a/utils/proto_utils.py
1 parent f8e8262 commit 81a7f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/utils/proto_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,9 +944,9 @@ def role(cls, role: a2a_pb2.Role) -> types.Role:
944944
def dict_to_struct(dictionary: dict[str, Any]) -> struct_pb2.Struct:
945945
"""Converts a Python dict to a Struct proto.
946946
947-
Unforunately, using the json_format.ParseDict does not work because this
947+
Unfortunately, using `json_format.ParseDict` does not work because this
948948
wants the dictionary to be an exact match of the Struct proto with fields
949-
and keys and values, not the traditional python dict struture.
949+
and keys and values, not the traditional Python dict structure.
950950
951951
Args:
952952
dictionary: The Python dict to convert.

0 commit comments

Comments
 (0)