a2a.server.tasks.push_notification_sender module¶
- class a2a.server.tasks.push_notification_sender.PushNotificationSender¶
Bases:
ABCInterface for sending push notifications for tasks.
- abstractmethod async send_notification(task_id: str, event: Task | TaskStatusUpdateEvent | TaskArtifactUpdateEvent) None¶
Sends a push notification containing the latest task state.