redivis.parameter
redivis.parameter(reference) → Parameter
Construct a new parameter instance.
Parameters:
reference : str
The reference to the parameter. Must provide a fully qualified reference, unless if a default workflow is set (in a Redivis notebook, the default workflow is always set).
Learn more about referencing resources >
Returns:
Examples
import redivis
param = redivis.parameter("username.workflow_name.my_param")
param.create(values=["foo","bar"])
print(param.get_values()) # ["foo", "bar"]
param.update(values=["hello","world"])
print(param.get_values()) # ["hello", "world"]Last updated
Was this helpful?