Skip to content

Commit b5bf26c

Browse files
Fix linter errors
1 parent 6ca3bee commit b5bf26c

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
@@ -135,7 +135,7 @@ async def event_generator(
135135
@rest_error_handler
136136
async def handle_get_agent_card(
137137
self, request: Request, call_context: ServerCallContext | None = None
138-
) -> JSONResponse | Response:
138+
) -> JSONResponse | Response | Any:
139139
"""Handles GET requests for the agent card endpoint.
140140
141141
Args:
@@ -157,7 +157,7 @@ async def handle_get_agent_card(
157157
@rest_error_handler
158158
async def handle_authenticated_agent_card(
159159
self, request: Request, call_context: ServerCallContext | None = None
160-
) -> JSONResponse | Response:
160+
) -> JSONResponse | Response | Any:
161161
"""Hook for per credential agent card response.
162162
163163
If a dynamic card is needed based on the credentials provided in the request

0 commit comments

Comments
 (0)