Skip to content

Commit 05a64e3

Browse files
committed
Formatting
1 parent 27845a0 commit 05a64e3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/actions/spelling/allow.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ drivername
3838
dunders
3939
euo
4040
excinfo
41+
fernet
4142
fetchrow
4243
fetchval
4344
genai
@@ -72,4 +73,3 @@ taskupdate
7273
testuuid
7374
typeerror
7475
vulnz
75-
fernet

tests/server/tasks/test_database_push_notification_config_store.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
import pytest_asyncio
77

88
from _pytest.mark.structures import ParameterSet
9+
from sqlalchemy import select
910
from 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
1617
pytest.importorskip('sqlalchemy', reason='Database tests require SQLAlchemy')
@@ -20,19 +21,20 @@
2021
)
2122

2223
# Now safe to import SQLAlchemy-dependent modules
24+
from cryptography.fernet import Fernet
2325
from sqlalchemy.inspection import inspect
26+
2427
from a2a.server.models import (
2528
Base,
2629
PushNotificationConfigModel,
2730
) # Important: To get Base.metadata
2831
from a2a.server.tasks import DatabasePushNotificationConfigStore
2932
from 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

0 commit comments

Comments
 (0)