def update(self, reservation_id):
        client = self._redis_maker()
        
        current_moment = self.now()
        now_timestamp = time.mktime(current_moment.timetuple()) + current_moment.microsecond / 1e6

        weblab_reservation_status = WEBLAB_RESERVATION_STATUS - reservation_id
        
        expired = client.hset(weblab_reservation_status, LATEST_ACCESS, now_timestamp)
        # if it has created it, it means that it is expired
        return expired != 0
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/redis/reservations_manager.py/ReservationsManager.update/operator `%` -> `-`