Skip to content

Commit 036a004

Browse files
committed
fix
1 parent 5c574cc commit 036a004

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/a2a/server/routes/jsonrpc_dispatcher.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -429,13 +429,6 @@ async def handle_requests(self, request: Request) -> Response: # noqa: PLR0911,
429429
request_id, InternalError(message=str(e))
430430
)
431431

432-
@validate(
433-
lambda self: self.agent_card.capabilities.push_notifications,
434-
'Push notifications are not supported by the agent',
435-
)
436-
async def _require_push_notifications(self) -> None:
437-
"""Helper to enforce push notifications capability."""
438-
439432
@validate_version(constants.PROTOCOL_VERSION_1_0)
440433
@validate(
441434
lambda self: self.agent_card.capabilities.streaming,

0 commit comments

Comments
 (0)