MCPcopy
hub / github.com/Ultimaker/Cura / setRange

Method setRange

Cura/util/profile.py:81–86  ·  view source on GitHub ↗
(self, minValue=None, maxValue=None)

Source from the content-addressed store, hash-verified

79 return self
80
81 def setRange(self, minValue=None, maxValue=None):
82 if len(self._validators) < 1:
83 return
84 self._validators[0].minValue = minValue
85 self._validators[0].maxValue = maxValue
86 return self
87
88 def getLabel(self):
89 return _(self._label)

Callers 1

profile.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected