Skip to content

Commit 50a45cb

Browse files
committed
revert changes
1 parent 83fa7b8 commit 50a45cb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/contrib/tasks/test_vertex_task_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
to_stored_task,
1919
to_stored_task_state,
2020
)
21-
from a2a.types import (
21+
from a2a.compat.v0_3.types import (
2222
Artifact,
2323
DataPart,
2424
FilePart,

tests/server/routes/test_jsonrpc_routes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ def mock_handler():
2323
def test_routes_creation(agent_card, mock_handler):
2424
"""Tests that create_jsonrpc_routes creates Route objects list."""
2525
routes = create_jsonrpc_routes(
26-
agent_card=agent_card, request_handler=mock_handler, rpc_url='/a2a/jsonrpc'
26+
agent_card=agent_card,
27+
request_handler=mock_handler,
28+
rpc_url='/a2a/jsonrpc',
2729
)
2830

2931
assert isinstance(routes, list)

0 commit comments

Comments
 (0)