async def handle_request(self, request: Request<EOL>) -> typing.Tuple[AsyncGeneratorType, Response]:
callback_result, response = None, None<EOL>await self._run_request_middleware(request)<EOL>try:<EOL><INDENT>callback_result, response = await request.fetch_callback(self.sem)<EOL><DEDENT>except NotImplementedParseError as e:<EOL><INDENT>self.logger.error(e)<EOL><DEDENT>except NothingMatchedError as e:<EOL><INDENT>self.logger.error(f'<STR_LIT>')<EOL><DEDENT>except Exception as e:<EOL><INDENT>self.logger.error(f'<STR_LIT>')<EOL><DEDENT>await self._run_response_middleware(request, response)<EOL>await self._process_response(request=request, response=response)<EOL>return callback_result, response<EOL>
Wrap request with middleware.
:param request:
:return: