Skip to content

Commit 13df325

Browse files
author
julien bonnier
committed
Ran ruff
1 parent f1e5d0a commit 13df325

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/a2a/server/request_handlers/grpc_handler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ def _get_metadata_value(
5454
context: grpc.aio.ServicerContext, key: str
5555
) -> list[str]:
5656
md = context.invocation_metadata()
57-
raw_values: list[str | bytes] = md.get_all(key) if isinstance(md, Metadata) else []
57+
raw_values: list[str | bytes] = (
58+
md.get_all(key) if isinstance(md, Metadata) else []
59+
)
5860

5961
return [e if isinstance(e, str) else e.decode('utf-8') for e in raw_values]
6062

0 commit comments

Comments
 (0)