File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ drivername
3838dunders
3939euo
4040excinfo
41+ fernet
4142fetchrow
4243fetchval
4344genai
@@ -72,4 +73,3 @@ taskupdate
7273testuuid
7374typeerror
7475vulnz
75- fernet
Original file line number Diff line number Diff line change 66import pytest_asyncio
77
88from _pytest .mark .structures import ParameterSet
9+ from sqlalchemy import select
910from sqlalchemy .ext .asyncio import (
1011 async_sessionmaker ,
1112 create_async_engine ,
1213)
13- from sqlalchemy import select
14+
1415
1516# Skip entire test module if SQLAlchemy is not installed
1617pytest .importorskip ('sqlalchemy' , reason = 'Database tests require SQLAlchemy' )
2021)
2122
2223# Now safe to import SQLAlchemy-dependent modules
24+ from cryptography .fernet import Fernet
2325from sqlalchemy .inspection import inspect
26+
2427from a2a .server .models import (
2528 Base ,
2629 PushNotificationConfigModel ,
2730) # Important: To get Base.metadata
2831from a2a .server .tasks import DatabasePushNotificationConfigStore
2932from a2a .types import (
33+ PushNotificationConfig ,
3034 Task ,
3135 TaskState ,
3236 TaskStatus ,
33- PushNotificationConfig ,
3437)
35- from cryptography .fernet import Fernet
3638
3739
3840# DSNs for different databases
You can’t perform that action at this time.
0 commit comments