Parameter  type: param#

class lumen.variables.base.Parameter(*, parameter, default, label, materialize, required, secure, value, name)#

Parameter variables reflect the current value of a parameter.


Parameters#

parameter

type: param.Parameter
default: None
A parameter instance whose current value will be reflectedon this variable.


Methods#

Parameter.as_materialized() Constant#

If the variable is to be materialized by the builder this implements the conversion from a variable that references some external value to a materialized value.

Parameter.to_spec(context: Dict[str, Any] | None = None) Dict[str, Any]#

Exports the full specification to reconstruct this component.

Return type:

Resolved and instantiated Component object