Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workflow.create

Workflow.create(*, description=None, is_public=False) → self

Creates a new workflow, owned by the workflow's user or organization.

If the workflow was constructed from a qualified reference such as redivis.workflow("owner.workflow_name"), which doesn't say whether the owner is a user or an organization, the owner is resolved to an organization if one exists with that name, and otherwise to a user.

Parameters:

description : str, default None A description of the workflow.

is_public : bool, default False Whether anyone can view the workflow. Viewers can still only see data derivatives that they have access to.

Returns:

self (a Workflow)

Examples:

workflow = redivis.user("my_username").workflow("My workflow")
workflow.create(description="Analysis of daily weather data")

workflow.datasource("demo.ghcn_daily_weather_data").create()

Was this helpful?