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.
by_alias
1 parent 9fa62e0 commit 475ba50Copy full SHA for 475ba50
src/a2a/client/client.py
@@ -98,7 +98,9 @@ async def get_agent_card(
98
target_url,
99
agent_card_data,
100
)
101
- agent_card = AgentCard.model_validate(agent_card_data)
+ agent_card = AgentCard.model_validate(
102
+ agent_card_data, by_alias=True
103
+ )
104
except httpx.HTTPStatusError as e:
105
raise A2AClientHTTPError(
106
e.response.status_code,
0 commit comments