class documentation
class ValueRange(AnnotatedTypeChecker): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | check |
Takes any argument and raises a ValueError if it doesn't check out |
Instance Variable | max |
Whether to include max_value as valid value or not |
Instance Variable | max |
Maximum allowed value. If None, maximum isn't checked |
Instance Variable | min |
Whether to include min_value as valid value or not |
Instance Variable | min |
Minimum allowed value. If None, minimum isn't checked |
Method | _range |
Undocumented |