pyrtma.validators.Char
- class Char[source]
Bases:
String
Validator for scalar char values
Methods
Validate multiple strings
Validate a string value
- validate_many(value)
Validate multiple strings
Not implemented
- Raises:
- validate_one(value)
Validate a string value
- Parameters:
value (str) – String value
- Raises:
TypeError – Wrong type
ValueError – String exceeds max length