[Bug]: v0.3 REST client raises NotImplementedError for list_task_push_notification_configs

已關閉
#1,423 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 2 天內回覆

@RaphaelFakhri 已經在處理了。

開始於 2026年11月4日。

  • #1424 來自 @RaphaelFakhri —— 未關閉

評估

這個 Issue 還沒有評估資料。

描述

component: client status:awaiting response
What happened?

Client.list_task_push_notification_configs() raises NotImplementedError when the client talks to a v0.3 agent over HTTP+JSON:

NotImplementedError: list_task_push_notification_configs not supported in v0.3 REST

The v0.3 REST binding defines this call as GET /v1/tasks/{id}/pushNotificationConfigs, and v0.3 REST servers serve it. That includes this SDK's own compat server: REST03Adapter mounts the route and REST03Handler.list_push_notifications handles it. The v0.3 JSON-RPC and gRPC client transports (CompatJsonRpcTransport, CompatGrpcTransport) both implement the call, so only REST users hit the error.

Steps to reproduce
  1. Start a server with create_rest_routes(handler, enable_v0_3_compat=True) and a push config store.
  2. Create a task and two push notification configs through CompatRestTransport.
  3. Call CompatRestTransport.list_task_push_notification_configs(ListTaskPushNotificationConfigsRequest(task_id=...)).

Expected: the response lists both configs. Actual: NotImplementedError, and no request is sent.

Environment

a2a-sdk main (1.3.x), Python 3.13.

主要語言
Python
星號
2.2k
分支
532
平均合併
3 天 2 小時
30 天內合併 PR
46

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

a2aproject/a2a-python 的其他 Issue

查看 a2aproject/a2a-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。