ParamDef Class
Definition of an execution parameter.
Initialize ParamDef.
- Inheritance
-
builtins.objectParamDef
Constructor
ParamDef(name, default_value=None, is_metadata_param=False, is_optional=False, set_env_var=False, calculate_hash=True, env_var_override=None)
Parameters
Name | Description |
---|---|
name
Required
|
Name of the ParamDef object. |
default_value
|
Default value of the parameter. Default value: None
|
is_metadata_param
|
Whether the parameter is a metadata param or not. Default value: False
|
is_optional
|
Whether the parameter is optional or not. Default value: False
|
calculate_hash
|
Whether this param will be part of hash calculation for reuse Default value: True
|
set_env_var
|
Whether to set an environment variable or not. Default value: False
|
env_var_override
|
The environment variable override value. Default value: None
|
name
Required
|
Name of the ParamDef object. |
default_value
Required
|
Default value of the parameter. |
is_metadata_param
Required
|
Whether the parameter is a metadata param or not. |
is_optional
Required
|
Whether the parameter is optional or not. |
calculate_hash
Required
|
Whether this param will be part of hash calculation for reuse |
set_env_var
Required
|
Whether to set an environment variable or not. |
env_var_override
Required
|
The environment variable override value. |