catalog_workspace.
put_declarative_automations
put_declarative_automations(workspace_id: str, automations: list[CatalogDeclarativeAutomation])
Set automations for the workspace.
Parameters
name | type | description |
---|---|---|
workspace_id | string | Workspace identification string e.g. "demo" |
automations | list[CatalogDeclarativeAutomation] | List of declarative automations. |
Returns
None
Example
automations = [CatalogDeclarativeAutomation(id="schedule", ...)]
sdk.catalog_workspace.put_declarative_automations(workspace_id="demo", automations=automations)