Skip to content

Commit 04f105a

Browse files
committed
spelling
1 parent d5253af commit 04f105a

File tree

7 files changed

+24
-25
lines changed

7 files changed

+24
-25
lines changed

.github/actions/spelling/allow.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ JSONRPCt
2020
Llm
2121
POSTGRES
2222
RUF
23+
SLF
2324
aconnect
2425
adk
2526
agentic

tests/server/request_handlers/test_default_request_handler.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,20 @@
2020
from a2a.server.events import EventQueue, InMemoryQueueManager, QueueManager
2121
from a2a.server.request_handlers import DefaultRequestHandler
2222
from a2a.server.tasks import (
23+
InMemoryPushNotificationConfigStore,
2324
InMemoryTaskStore,
25+
PushNotificationConfigStore,
26+
PushNotificationSender,
2427
ResultAggregator,
2528
TaskStore,
2629
TaskUpdater,
27-
PushNotificationConfigStore,
28-
PushNotificationSender,
29-
InMemoryPushNotificationConfigStore,
3030
)
3131
from a2a.types import (
32+
DeleteTaskPushNotificationConfigParams,
33+
GetTaskPushNotificationConfigParams,
3234
InternalError,
3335
InvalidParamsError,
36+
ListTaskPushNotificationConfigParams,
3437
Message,
3538
MessageSendConfiguration,
3639
MessageSendParams,
@@ -46,9 +49,6 @@
4649
TaskStatus,
4750
TextPart,
4851
UnsupportedOperationError,
49-
GetTaskPushNotificationConfigParams,
50-
ListTaskPushNotificationConfigParams,
51-
DeleteTaskPushNotificationConfigParams,
5252
)
5353

5454

tests/server/request_handlers/test_jsonrpc_handler.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,22 @@
1717
from a2a.server.events.event_queue import EventQueue
1818
from a2a.server.request_handlers import DefaultRequestHandler, JSONRPCHandler
1919
from a2a.server.tasks import (
20-
TaskStore,
21-
InMemoryPushNotificationConfigStore,
2220
BasePushNotificationSender,
21+
InMemoryPushNotificationConfigStore,
2322
PushNotificationConfigStore,
2423
PushNotificationSender,
24+
TaskStore,
2525
)
2626
from a2a.types import (
2727
AgentCapabilities,
2828
AgentCard,
2929
Artifact,
3030
CancelTaskRequest,
3131
CancelTaskSuccessResponse,
32+
DeleteTaskPushNotificationConfigParams,
33+
DeleteTaskPushNotificationConfigRequest,
34+
DeleteTaskPushNotificationConfigSuccessResponse,
35+
GetTaskPushNotificationConfigParams,
3236
GetTaskPushNotificationConfigRequest,
3337
GetTaskPushNotificationConfigResponse,
3438
GetTaskPushNotificationConfigSuccessResponse,
@@ -37,6 +41,9 @@
3741
GetTaskSuccessResponse,
3842
InternalError,
3943
JSONRPCErrorResponse,
44+
ListTaskPushNotificationConfigParams,
45+
ListTaskPushNotificationConfigRequest,
46+
ListTaskPushNotificationConfigSuccessResponse,
4047
Message,
4148
MessageSendConfiguration,
4249
MessageSendParams,
@@ -61,15 +68,6 @@
6168
TaskStatusUpdateEvent,
6269
TextPart,
6370
UnsupportedOperationError,
64-
GetTaskPushNotificationConfigParams,
65-
ListTaskPushNotificationConfigRequest,
66-
ListTaskPushNotificationConfigResponse,
67-
ListTaskPushNotificationConfigSuccessResponse,
68-
ListTaskPushNotificationConfigParams,
69-
DeleteTaskPushNotificationConfigParams,
70-
DeleteTaskPushNotificationConfigRequest,
71-
DeleteTaskPushNotificationConfigResponse,
72-
DeleteTaskPushNotificationConfigSuccessResponse,
7371
)
7472
from a2a.utils.errors import ServerError
7573

tests/server/tasks/test_inmemory_push_notifications.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
import httpx
66

7-
from a2a.server.tasks.inmemory_push_notification_config_store import (
8-
InMemoryPushNotificationConfigStore,
9-
)
107
from a2a.server.tasks.base_push_notification_sender import (
118
BasePushNotificationSender,
129
)
10+
from a2a.server.tasks.inmemory_push_notification_config_store import (
11+
InMemoryPushNotificationConfigStore,
12+
)
1313
from a2a.types import PushNotificationConfig, Task, TaskState, TaskStatus
1414

1515

tests/server/tasks/test_push_notification_sender.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
from a2a.server.tasks.base_push_notification_sender import (
2-
BasePushNotificationSender,
3-
)
4-
51
import unittest
62

73
from unittest.mock import AsyncMock, MagicMock, patch
84

95
import httpx
106

7+
from a2a.server.tasks.base_push_notification_sender import (
8+
BasePushNotificationSender,
9+
)
1110
from a2a.types import (
1211
PushNotificationConfig,
1312
Task,

tests/server/tasks/test_task_updater.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import asyncio
22
import uuid
3+
34
from unittest.mock import AsyncMock, patch
45

56
import pytest

tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
FilePart,
2323
FileWithBytes,
2424
FileWithUri,
25+
GetTaskPushNotificationConfigParams,
2526
GetTaskPushNotificationConfigRequest,
2627
GetTaskPushNotificationConfigResponse,
2728
GetTaskPushNotificationConfigSuccessResponse,
@@ -71,7 +72,6 @@
7172
TaskStatusUpdateEvent,
7273
TextPart,
7374
UnsupportedOperationError,
74-
GetTaskPushNotificationConfigParams,
7575
)
7676

7777

0 commit comments

Comments
 (0)