diff --git a/cognite/client/_api/workflows.py b/cognite/client/_api/workflows.py index 7a96a17c03..5d5fa7cc17 100644 --- a/cognite/client/_api/workflows.py +++ b/cognite/client/_api/workflows.py @@ -305,7 +305,7 @@ def upsert(self, version: WorkflowVersionUpsert, mode: Literal["replace"] = "rep ... description="This workflow has one step", ... ), ... ) - >>> res = c.workflows.upsert(new_version) + >>> res = c.workflows.versions.upsert(new_version) """ self._warning.warn() if mode != "replace":