Skip to content

Commit 10e3633

Browse files
Updated mypy failures
1 parent 303faae commit 10e3633

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/apps/rest/rest_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async def handle_get_agent_card(self, request: Request) -> JSONResponse:
105105
@rest_error_handler
106106
async def handle_authenticated_agent_card(
107107
self, request: Request
108-
) -> JSONResponse: # type: ignore[return-value]
108+
) -> JSONResponse:
109109
"""Hook for per credential agent card response.
110110
111111
If a dynamic card is needed based on the credentials provided in the request
@@ -124,7 +124,7 @@ async def handle_authenticated_agent_card(
124124
)
125125
)
126126
return JSONResponse(
127-
self.agent_card.model_dump(mode='json', exclude_none=True)
127+
content=self.agent_card.model_dump(mode='json', exclude_none=True)
128128
)
129129

130130
def routes(self) -> dict[tuple[str, str], Callable[[Request], Any]]:

0 commit comments

Comments
 (0)