def _findPoint(self, name, force_read=True):
        """
        Used by getter and setter functions
        """
        for point in self.points:
            if point.properties.name == name:
                if force_read:
                    point.value
                return point
        raise ValueError("{} doesn't exist in controller".format(name))
def _findPoint ( self , name , force_read = True ) : for point in self . points : if point . properties . name == name : if force_read : point . value return point raise ValueError ( "{} doesn't exist in controller" . format ( name ) )
Used by getter and setter functions