Skip to content

Commit 8877612

Browse files
committed
Updates
1 parent 7db2adf commit 8877612

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/a2a/server/request_handlers/grpc_handler.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@
3535
from a2a.types import a2a_pb2
3636
from a2a.types.a2a_pb2 import AgentCard
3737
from a2a.utils import proto_utils
38-
from a2a.utils.errors import (
39-
A2A_ERROR_REASONS,
40-
A2AError,
41-
TaskNotFoundError,
42-
)
38+
from a2a.utils.errors import A2A_ERROR_REASONS, A2AError, TaskNotFoundError
4339
from a2a.utils.helpers import maybe_await, validate
4440
from a2a.utils.proto_utils import validation_errors_to_bad_request
4541

@@ -426,7 +422,6 @@ async def abort_context(
426422
rich_status = rpc_status.to_status(status)
427423

428424
new_metadata: list[tuple[str, str | bytes]] = []
429-
430425
trailing = context.trailing_metadata()
431426
if trailing:
432427
for k, v in trailing:

0 commit comments

Comments
 (0)