def __init__(self, iso_request_layout, attribute_name, number_sectors, regard_controls, parent=None): """ Constructor. :param bool regard_controls: Flag indicating if control positions should be considered (floating positions are always considered). :param int number_sectors: The number of rack sectors. :default number_sectors: *4* """ ValueDeterminer.__init__(self, iso_request_layout, attribute_name, number_sectors, parent=parent) #: Shall controls (Fixed) position be regarded? self.regard_controls = regard_controls
def _check_input(self): ValueDeterminer._check_input(self) self._check_input_class('"regard controls" flag', self.regard_controls, bool)