File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/a2a/server/request_handlers Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11[mypy]
2- disable_error_code = import-not-found,annotation-unchecked
2+ exclude = src/a2a/grpc/
3+ disable_error_code = import-not-found,annotation-unchecked,import-untyped
34
45[mypy-examples.*]
56follow_imports = skip
Original file line number Diff line number Diff line change 44from a2a .server .context import ServerCallContext
55from a2a .server .events .event_queue import Event
66from a2a .types import (
7+ GetTaskPushNotificationConfigParams ,
78 Message ,
89 MessageSendParams ,
910 Task ,
@@ -122,7 +123,7 @@ async def on_set_task_push_notification_config(
122123 @abstractmethod
123124 async def on_get_task_push_notification_config (
124125 self ,
125- params : TaskIdParams ,
126+ params : TaskIdParams | GetTaskPushNotificationConfigParams ,
126127 context : ServerCallContext | None = None ,
127128 ) -> TaskPushNotificationConfig :
128129 """Handles the 'tasks/pushNotificationConfig/get' method.
You can’t perform that action at this time.
0 commit comments