

def update(self, reservation_id):
    client = self._redis_maker()
    current_moment = self.now()
    now_timestamp = (time.mktime(current_moment.timetuple()) + (current_moment.microsecond / 1000000.0))
    weblab_reservation_status = (WEBLAB_RESERVATION_STATUS % reservation_id)
    expired = client.hset(weblab_reservation_status, LATEST_ACCESS, now_timestamp)
    return (client != 0)

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/redis/reservations_manager.py ReservationsManager.update/VarMisuse@74/120 `expired`->`client`