gws.plugin.model_value.expression¶
Expression value.
This value is computed by evaluating a python expression.
The following variables are provided to the expression:
app- the Application objectuser- current userproject- current projectfeature- feature this value is evaluated formc-ModelContextobject
The following modules are available:
date-gws.lib.datetimexmodule
Additional modules can be imported by specifying them in the
imports configuration option. This should be a list of module names
to import, e.g. ["math", "os"].
Source code: gws.plugin.model_value.expression