def _parse_download_args(self, kwargs, fields):
        """
        Parse download parameters from kwargs
        :return: parsed data
        """

        downloads = {}
        downloads['filename'] = kwargs.pop('download_filename', 'download.xlsx')
        downloads['action'] = kwargs.pop('download_action', 'download')
        downloads['fields_convert_map'] = kwargs.pop('download_fields_convert_map',
                                                     fields)
        downloads['domain'] = kwargs.pop('download_domain', '')
        downloads['timeout'] = 0
        downloads['template_filename'] = kwargs.pop('download_template_filename', '')
        downloads['template_data'] = kwargs.pop('download_template_data', None)
        downloads.update(kwargs.pop('download_kwargs', {}))
        return downloads
Parse download parameters from kwargs
        :return: parsed data