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

Chiusa
#1,423 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@RaphaelFakhri ci sta già lavorando.

Dal 4/11/2026.

  • #1424 di @RaphaelFakhri — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
2.2k
Fork
532
Merge medio
3g 2h
PR unite (30g)
46

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di a2aproject/a2a-python

Tutte le issue di a2aproject/a2a-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.