IntConfigValidator¶
-
class
tfsnippet.utils.
IntConfigValidator
¶ Bases:
tfsnippet.utils.config_utils.ConfigValidator
Config value validator for integer values.
Methods Summary
validate
(value[, strict])Validate the value. Methods Documentation
-
validate
(value, strict=False)¶ Validate the value.
Parameters: Returns: The validated value.
Raises: ValueError, TypeError – If the value cannot pass validation.
-