File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/a2a/client/transports Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 0.3.18] ( https://github.com/a2aproject/a2a-python/compare/v0.3.17...v0.3.18 ) (2025-11-24)
4+
5+
6+ ### Bug Fixes
7+
8+ * return updated ` agent_card ` in ` JsonRpcTransport.get_card() ` ([ #552 ] ( https://github.com/a2aproject/a2a-python/issues/552 ) ) ([ 0ce239e] ( https://github.com/a2aproject/a2a-python/commit/0ce239e98f67ccbf154f2edcdbcee43f3b080ead ) )
9+
310## [ 0.3.17] ( https://github.com/a2aproject/a2a-python/compare/v0.3.16...v0.3.17 ) (2025-11-24)
411
512
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ async def get_card(
412412 raise A2AClientJSONRPCError (response .root )
413413 self .agent_card = response .root .result
414414 self ._needs_extended_card = False
415- return card
415+ return self . agent_card
416416
417417 async def close (self ) -> None :
418418 """Closes the httpx client."""
Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ async def test_get_card_with_extended_card_support(
782782 mock_send_request .return_value = rpc_response
783783 card = await client .get_card ()
784784
785- assert card == agent_card
785+ assert card == AGENT_CARD_EXTENDED
786786 mock_send_request .assert_called_once ()
787787 sent_payload = mock_send_request .call_args .args [0 ]
788788 assert sent_payload ['method' ] == 'agent/getAuthenticatedExtendedCard'
You can’t perform that action at this time.
0 commit comments