User.workflow
User.workflow(workflow_name) → Workflow
Construct a new workflow instance that references a workflow owned by a user.
Parameters:
workflow_name
: str
The name of the workflow, unique for all workflows owned by the user. The name is case-insensitive, and can optionally be escaped following general name escaping rules. E.g., "Example
workflow: Climate analysis"
-> "example_workflow_climate_analysis"
.
Returns:
Examples
user = redivis.user("imathews")
workflow = user.workflow("example_workflow_climate_analysis")
workflow.get()
print(workflow.properties) # Properties will be fully populated after calling .get()
Last updated
Was this helpful?