catalog_workspace.

put_declarative_automations

put_declarative_automations(workspace_id: str, automations: list[CatalogDeclarativeAutomation])

Set automations for the workspace.

Parameters

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"
automationslist[CatalogDeclarativeAutomation]List of declarative automations.

Returns

None

Example

automations = [CatalogDeclarativeAutomation(id="schedule", ...)]
sdk.catalog_workspace.put_declarative_automations(workspace_id="demo", automations=automations)