def _decode_parts(self, message, http_response_type, requests):
        """Helper for _decode_parts.

        Rebuild an HTTP response from pure string.

        :param message: The body as an email.Message type
        :type message: ~email.message.Message
        :param http_response_type: The type of response to build
        :type http_response_type: type
        :param requests: A list of requests to process
        :type requests: list[~azure.core.rest.HttpRequest]
        :return: A list of responses
        :rtype: list[~azure.core.rest.HttpResponse]
        """

        def _deserialize_response(http_response_as_bytes, http_request, http_response_type):
            local_socket = BytesIOSocket(http_response_as_bytes)
            response = _HTTPResponse(local_socket, method=http_request.method)
            response.begin()
            return http_response_type(request=http_request, internal_response=response)

        return _decode_parts_helper(
            self,
            message,
            http_response_type or RestHttpClientTransportResponse,
            requests,
            _deserialize_response,
        )
Helper for _decode_parts.

        Rebuild an HTTP response from pure string.

        :param message: The body as an email.Message type
        :type message: ~email.message.Message
        :param http_response_type: The type of response to build
        :type http_response_type: type
        :param requests: A list of requests to process
        :type requests: list[~azure.core.rest.HttpRequest]
        :return: A list of responses
        :rtype: list[~azure.core.rest.HttpResponse]
        
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/core/rest/_http_response_impl.py