gws.base.model.validator

Base model validator.

Source code: gws.base.model.validator

Module Contents

gws.base.model.validator.DEFAULT_MESSAGE_PREFIX = 'validationError_'
class gws.base.model.validator.Config(*args, **kwargs)

Bases: gws.Config

Object configuration.

message: str
forCreate: bool = True
forUpdate: bool = True
class gws.base.model.validator.Object

Bases: gws.ModelValidator

Model Validator.

configure()

Configuration hook.