We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e8262 commit 81a7f23Copy full SHA for 81a7f23
src/a2a/utils/proto_utils.py
@@ -944,9 +944,9 @@ def role(cls, role: a2a_pb2.Role) -> types.Role:
944
def dict_to_struct(dictionary: dict[str, Any]) -> struct_pb2.Struct:
945
"""Converts a Python dict to a Struct proto.
946
947
- Unforunately, using the json_format.ParseDict does not work because this
+ Unfortunately, using `json_format.ParseDict` does not work because this
948
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.
+ and keys and values, not the traditional Python dict structure.
950
951
Args:
952
dictionary: The Python dict to convert.
0 commit comments