Parameter.create
Was this helpful?
Creates a new parameter with the given values.
values : list
Required. A list of values that will be stored in the parameter. Parameters cannot have more than 10,000 values.
type : str ("boolean"|"integer"|"float"|"string"|"date"|"dateTime"), default None
A string representing the parameter's type. Must be one of the standard Redivis types other than geography. The values specified must be compatible with the set type, otherwise an error will be throw. If no type is provided, the type will be inferred based on the values.
self (a Parameter)
import redivis
workflow = redivis.workflow("username.workflow_name")
workflow.parameter("my_param").create(values=["foo","bar"])Was this helpful?
Was this helpful?

