We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7130dd7 commit ffa9e33Copy full SHA for ffa9e33
src/a2a/server/request_handlers/default_request_handler.py
@@ -27,6 +27,7 @@
27
TaskStore,
28
)
29
from a2a.types import (
30
+ GetTaskPushNotificationConfigParams,
31
InternalError,
32
Message,
33
MessageSendConfiguration,
@@ -376,7 +377,7 @@ async def on_set_task_push_notification_config(
376
377
378
async def on_get_task_push_notification_config(
379
self,
- params: TaskIdParams,
380
+ params: TaskIdParams | GetTaskPushNotificationConfigParams,
381
context: ServerCallContext | None = None,
382
) -> TaskPushNotificationConfig:
383
"""Default handler for 'tasks/pushNotificationConfig/get'.
0 commit comments