Skip to content

Commit 4d72700

Browse files
Fix more lint errors
1 parent 29ec4d4 commit 4d72700

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/a2a/server/request_handlers/grpc_handler.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def __init__(
6565
6666
Args:
6767
agent_card: The AgentCard describing the agent's capabilities.
68-
request_handler: The underlying `RequestHandler` instance to delegat
69-
e requests to.
68+
request_handler: The underlying `RequestHandler` instance to
69+
delegate requests to.
7070
"""
7171
self.agent_card = agent_card
7272
self.request_handler = request_handler
@@ -84,10 +84,9 @@ async def SendMessage(
8484
context: Context provided by the server.
8585
8686
Returns:
87-
A `SendMessageResponse` object containing the result (Task or Messag
88-
e)
89-
or throws an error response if a `ServerError` is raised by the han
90-
dler.
87+
A `SendMessageResponse` object containing the result (Task or
88+
Message) or throws an error response if a `ServerError` is raised
89+
by the handler.
9190
"""
9291
try:
9392
# Construct the server context object

src/a2a/utils/proto_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def push_notification_config(
138138
cls, config: types.PushNotificationConfig
139139
) -> a2a_pb2.PushNotificationConfig:
140140
return a2a_pb2.PushNotificationConfig(
141-
id=config.id or "",
141+
id=config.id or '',
142142
url=config.url,
143143
token=config.token,
144144
authentication=ToProto.authentication_info(config.authentication),

0 commit comments

Comments
 (0)