pyrtma.core_defs.String
- class String(len)[source]
Bases:
FieldValidator
[_P
,str
],Generic
[_P
]Validator for strings (char arrays)
Methods
Validate multiple strings
Validate a string value
- validate_one(value)[source]
Validate a string value
- Parameters:
value (str) – String value
- Raises:
TypeError – Wrong type
ValueError – String exceeds max length