We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db2adf commit 8877612Copy full SHA for 8877612
1 file changed
src/a2a/server/request_handlers/grpc_handler.py
@@ -35,11 +35,7 @@
35
from a2a.types import a2a_pb2
36
from a2a.types.a2a_pb2 import AgentCard
37
from a2a.utils import proto_utils
38
-from a2a.utils.errors import (
39
- A2A_ERROR_REASONS,
40
- A2AError,
41
- TaskNotFoundError,
42
-)
+from a2a.utils.errors import A2A_ERROR_REASONS, A2AError, TaskNotFoundError
43
from a2a.utils.helpers import maybe_await, validate
44
from a2a.utils.proto_utils import validation_errors_to_bad_request
45
@@ -426,7 +422,6 @@ async def abort_context(
426
422
rich_status = rpc_status.to_status(status)
427
423
428
424
new_metadata: list[tuple[str, str | bytes]] = []
429
-
430
425
trailing = context.trailing_metadata()
431
if trailing:
432
for k, v in trailing:
0 commit comments