def delete(self, req, id):
        context = req.environ['nova.context']
        security_group = self._get_security_group(context, id)
        LOG.audit(_("Delete security group %s"), id, context=context)
        db.security_group_destroy(context, security_group.id)

        return exc.HTTPAccepted()
Ensure that ID is passed to RQ by schedule.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/security_groups.py/SecurityGroupController.delete--crossover with--dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py/TestScheduler.test_periodic_job_sets_id