Skip to content

Commit 275f124

Browse files
committed
fix linter
1 parent 1211d73 commit 275f124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/utils/proto_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def make_dict_serializable(value: Any) -> Any:
5757
Returns:
5858
A serializable value.
5959
"""
60-
if isinstance(value, (str, int, float, bool)) or value is None:
60+
if isinstance(value, str | int | float | bool) or value is None:
6161
return value
6262
if isinstance(value, dict):
6363
return {k: make_dict_serializable(v) for k, v in value.items()}

0 commit comments

Comments
 (0)