Skip to content

Commit b8504cf

Browse files
committed
Refactor: Move types_v03 and sqlalchemy.insert imports to module level and add new database files.
1 parent 350539b commit b8504cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/server/tasks/test_database_task_store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
from _pytest.mark.structures import ParameterSet
1010
from a2a.types.a2a_pb2 import ListTasksRequest
11+
from a2a.compat.v0_3 import types as types_v03
12+
from sqlalchemy import insert
1113

1214

1315
# Skip entire test module if SQLAlchemy is not installed
@@ -693,8 +695,6 @@ async def test_get_0_3_task_detailed(
693695
(string-based enums, different field names) and verifies that the store
694696
correctly converts it to the modern Protobuf-based Task model.
695697
"""
696-
from a2a.compat.v0_3 import types as types_v03
697-
from sqlalchemy import insert
698698

699699
task_id = 'legacy-detailed-1'
700700
owner = 'legacy_user'

0 commit comments

Comments
 (0)