[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 天 6 小时
30 天内合并 PR
42

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

a2aproject/a2a-python 的其他 Issue

查看 a2aproject/a2a-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。