gws.base.model.validator
¶
Base model validator.
Source code: gws.base.model.validator
Module Contents¶
- class gws.base.model.validator.Config(*args, **kwargs)¶
Bases:
gws.Config
Object configuration.
- forCreate: bool = True¶
- forUpdate: bool = True¶
- message: str = ''¶
- gws.base.model.validator.DEFAULT_MESSAGE_PREFIX = 'validationError_'¶
- class gws.base.model.validator.Object¶
Bases:
gws.ModelValidator
Model Validator.
- configure()¶
Configuration hook.