

def list_sessions(self, experiment_id):
    ' list_sessions( experiment_id ) -> [ session_id ] '
    client = self._redis_maker()
    if (not client.sismember(WEBLAB_EXPERIMENT_TYPES, self.to_weblab_str())):
        raise CoordExc.ExperimentNotFoundError(('Experiment %s not found' % experiment_id))
    weblab_resource_reservations = (WEBLAB_RESOURCE_RESERVATIONS % experiment_id.to_weblab_str())
    return list(client.smembers(weblab_resource_reservations))

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/redis/reservations_manager.py ReservationsManager.list_sessions/VarMisuse@31/68 `experiment_id`->`self`