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

Ouverte
#1,423 1 commentaire 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

@RaphaelFakhri y travaille déjà.

Depuis le 4/11/2026.

  • #1424 par @RaphaelFakhri — ouverte

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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.

Langage dominant
Python
Étoiles
2.2k
Forks
532
Merge moyen
3 j 6 h
PR mergées (30 j)
42

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de a2aproject/a2a-python

Toutes les issues de a2aproject/a2a-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.