gws.base.model.value
¶
Source code: gws.base.model.value
Module Contents¶
- class gws.base.model.value.Config(*args, **kwargs)¶
Bases:
gws.Config
Configuration for the model value.
- forCreate: bool = True¶
The value is applied when creating a new object.
- forRead: bool = True¶
The value is applied when reading an object.
- forUpdate: bool = True¶
The value is applied when updating an existing object.
- isDefault: bool = False¶
If True, this value is the default for the model.
- class gws.base.model.value.Object¶
Bases:
gws.ModelValue
Model value.
- configure()¶
Configuration hook.