Constrain a value to be less than a certain value.
(self: _Pipeline[_InT, _NewOutLt], lt: _NewOutLt)
| 250 | return self.constrain(annotated_types.Gt(gt)) |
| 251 | |
| 252 | def lt(self: _Pipeline[_InT, _NewOutLt], lt: _NewOutLt) -> _Pipeline[_InT, _NewOutLt]: |
| 253 | """Constrain a value to be less than a certain value.""" |
| 254 | return self.constrain(annotated_types.Lt(lt)) |
| 255 | |
| 256 | def ge(self: _Pipeline[_InT, _NewOutGe], ge: _NewOutGe) -> _Pipeline[_InT, _NewOutGe]: |
| 257 | """Constrain a value to be greater than or equal to a certain value.""" |