

def get_experiment_id(self, reservation_id):
    reservation_data = self.get_reservation_data(reservation_id)
    if (reservation_data is None):
        raise CoordExc.ExpiredSessionError(('Expired reservation: no experiment id found for that reservation (%s)' % reservation_id))
    return ExperimentId.parse(reservation_data[EXPERIMENT_TYPE])

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/redis/reservations_manager.py ReservationsManager.get_experiment_id/original