def delete(self, user=None):
        now = utcnow()
        for model, instances in self.data.iteritems():
            pk_list = [obj.pk for obj in instances]
            model._base_manager.filter(
                pk__in=pk_list, deleted_on__isnull=True).update(
                deleted_by=user, deleted_on=now)
Initialize a context with an async task.
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtmodel.py/SoftDeleteCollector.delete--crossover with--dataset/ETHPy150Open Workiva/furious/furious/context/_execution.py/_ExecutionContext.__init__