

def async_refresh(self, *args, **kwargs):
    '\n        Trigger an asynchronous job to refresh the cache\n        '
    try:
        enqueue_task(kwargs=dict(klass_str=self.class_path, obj_args=self.get_constructor_args(), obj_kwargs=self.get_constructor_kwargs(), call_args=args, call_kwargs=kwargs), **self.task_options)
    except Exception as e:
        logger.error('Unable to trigger task asynchronously - failing over to synchronous refresh', exc_info=True)
        try:
            return self.refresh(*e, **kwargs)
        except Exception as e:
            logger.error('Unable to refresh data synchronously: %s', e, exc_info=True)
        else:
            logger.debug('Failover synchronous refresh completed successfully')

dataset/ETHPy150Open codeinthehole/django-cacheback/cacheback/base.py Job.async_refresh/VarMisuse@94/160 `args`->`e`