a2a.server.tasks.base_push_notification_sender module¶
- class a2a.server.tasks.base_push_notification_sender.BasePushNotificationSender(httpx_client: AsyncClient, config_store: PushNotificationConfigStore, context: ServerCallContext | None = None)¶
Bases:
PushNotificationSenderBase implementation of PushNotificationSender interface.
- async send_notification(task_id: str, event: Task | TaskStatusUpdateEvent | TaskArtifactUpdateEvent) None¶
Sends a push notification for an event if configuration exists.