Home | Trees | Indices | Help |
|
---|
|
object --+ | TemplateConstraint
Constraints on templates can also be designated as "on", "off" or "locked", which refers to whether they are active or not. Inactive constraints are still configured, but behave as if absent for the purpose of results. In addition, template constraints can be editable or not. Only values for editable constraints can be provided when requesting results, and only constraints that can participate in logic expressions can be editable.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
REQUIRED =
|
|||
OPTIONAL_ON =
|
|||
OPTIONAL_OFF =
|
|
|||
bool |
required True if a value must be provided for this constraint. |
||
bool |
switched_off True if this constraint is currently inactive. |
||
Inherited from |
|
Constructor
|
Make sure this constraint is active
|
Make sure this constraint is inactive
|
Provide a template specific human readable representation of the constraint. This method is called by repr. |
A static function to use when building template constraints.dict -> (dict, dict) Splits a dictionary of arguments into two separate dictionaries, one with arguments for the main constraint, and one with arguments for the template portion of the behaviour |
|
requiredTrue if a value must be provided for this constraint.
|
switched_offTrue if this constraint is currently inactive.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 12 18:51:53 2013 | http://epydoc.sourceforge.net |