Returns the constraint function associated with this variable. Returns: The constraint function that was passed to the variable constructor. Can be `None` if no constraint was passed.
(self)
| 763 | |
| 764 | @property |
| 765 | def constraint(self): |
| 766 | """Returns the constraint function associated with this variable. |
| 767 | |
| 768 | Returns: |
| 769 | The constraint function that was passed to the variable constructor. |
| 770 | Can be `None` if no constraint was passed. |
| 771 | """ |
| 772 | raise NotImplementedError |
| 773 | |
| 774 | def assign(self, value, use_locking=False, name=None, read_value=True): |
| 775 | """Assigns a new value to the variable. |
no outgoing calls
no test coverage detected