def get_multimedia_task_kwargs(self, export, download_id):
        datespan = self._get_datespan()
        return {
            'domain': self.domain_object.name,
            'startdate': datespan.startdate.isoformat(),
            'enddate': (datespan.enddate + timedelta(days=1)).isoformat(),
            'app_id': export.app_id,
            'xmlns': export.xmlns if hasattr(export, 'xmlns') else '',
            'export_id': export.get_id,
            'zip_name': 'multimedia-{}'.format(unidecode(export.name)),
            'download_id': download_id
        }
Returns a redis connection from a connection config
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/export/forms.py/GenericFilterFormExportDownloadForm.get_multimedia_task_kwargs--crossover with--dataset/ETHPy150Open ui/django-rq/django_rq/queues.py/get_redis_connection