We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca3bee commit b5bf26cCopy full SHA for b5bf26c
1 file changed
src/a2a/server/apps/rest/rest_adapter.py
@@ -135,7 +135,7 @@ async def event_generator(
135
@rest_error_handler
136
async def handle_get_agent_card(
137
self, request: Request, call_context: ServerCallContext | None = None
138
- ) -> JSONResponse | Response:
+ ) -> JSONResponse | Response | Any:
139
"""Handles GET requests for the agent card endpoint.
140
141
Args:
@@ -157,7 +157,7 @@ async def handle_get_agent_card(
157
158
async def handle_authenticated_agent_card(
159
160
161
"""Hook for per credential agent card response.
162
163
If a dynamic card is needed based on the credentials provided in the request
0 commit comments