gws.plugin.model_validator.format
¶
Validator for correct values.
When some value (e.g. an integer) cannot be parsed by the field object, it becomes gws.ErrorValue
.
This validator checks for this before writing such value is attempted.
Source code: gws.plugin.model_validator.format
Package Contents¶
- class gws.plugin.model_validator.format.Config¶
- class gws.plugin.model_validator.format.Object¶
Bases:
gws.base.model.validator.Object
- validate(field, feature, mc)¶