We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
task_push_notification_config_params
1 parent 084aca1 commit 56e7448Copy full SHA for 56e7448
src/a2a/utils/proto_utils.py
@@ -374,6 +374,17 @@ def task_push_notification_config_params(
374
| a2a_pb2.DeleteTaskPushNotificationConfigRequest
375
),
376
) -> tuple[str, str]:
377
+ """Parses the task ID and push notification config ID from the request.
378
+
379
+ Args:
380
+ request: The request to parse.
381
382
+ Returns:
383
+ A tuple containing the task ID and push notification config ID.
384
385
+ Raises:
386
+ ServerError: If the request name is invalid.
387
+ """
388
m = _TASK_PUSH_CONFIG_NAME_MATCH.match(request.name)
389
if not m:
390
raise ServerError(
0 commit comments