

def _clean(self):
    client = self._redis_maker()
    for reservation_id in client.smembers(WEBLAB_RESERVATIONS):
        client.delete((WEBLAB_RESERVATION % reservation_id))
        client.delete((WEBLAB_RESERVATION_STATUS % reservation_id))
        client.delete((WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS % reservation_id))
        client.delete((WEBLAB_RESERVATIONS_INDIVIDUAL_LOCK % reservation_id))
    client.delete(WEBLAB_RESERVATIONS_LOCK)
    reservation_id.delete(WEBLAB_RESERVATIONS)

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/redis/reservations_manager.py ReservationsManager._clean/VarMisuse@82/156 `client`->`reservation_id`