Skip to content

Commit ffa9e33

Browse files
committed
Fix typing
1 parent 7130dd7 commit ffa9e33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/a2a/server/request_handlers/default_request_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
TaskStore,
2828
)
2929
from a2a.types import (
30+
GetTaskPushNotificationConfigParams,
3031
InternalError,
3132
Message,
3233
MessageSendConfiguration,
@@ -376,7 +377,7 @@ async def on_set_task_push_notification_config(
376377

377378
async def on_get_task_push_notification_config(
378379
self,
379-
params: TaskIdParams,
380+
params: TaskIdParams | GetTaskPushNotificationConfigParams,
380381
context: ServerCallContext | None = None,
381382
) -> TaskPushNotificationConfig:
382383
"""Default handler for 'tasks/pushNotificationConfig/get'.

0 commit comments

Comments
 (0)