File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
services/web/server/src/simcore_service_webserver/chatbot Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ async def _request() -> httpx.Response:
7070 try :
7171 response = await _request ()
7272 response .raise_for_status ()
73- return response .json ()
73+ response_data : dict [str , Any ] = response .json ()
74+ return response_data
7475 except Exception :
7576 _logger .error ( # noqa: TRY400
7677 "Failed to fetch chatbot settings from %s" , url
@@ -132,7 +133,7 @@ async def setup_chatbot_rest_client(app: web.Application) -> None:
132133 async def cleanup_chatbot_client (app : web .Application ) -> None :
133134 client = app .get (_APPKEY )
134135 if client :
135- await client ._client .aclose () # noqa: SLF001
136+ await client ._client .aclose () # pylint: disable=protected-access # noqa: SLF001
136137
137138 app .on_cleanup .append (cleanup_chatbot_client )
138139
You can’t perform that action at this time.
0 commit comments