Skip to content

Commit 33959df

Browse files
committed
perf: update dataset
1 parent 6511424 commit 33959df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cognition_objects/markdown_dataset.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def update(
177177
dataset_id: str,
178178
name: Optional[str] = None,
179179
description: Optional[str] = None,
180+
useable_etl_configurations: Optional[List[Dict[str, Any]]] = None,
180181
with_commit: bool = True,
181182
) -> CognitionMarkdownDataset:
182183
dataset = get(org_id, dataset_id)
@@ -187,6 +188,9 @@ def update(
187188
if description:
188189
dataset.description = description
189190

191+
if useable_etl_configurations:
192+
dataset.useable_etl_configurations = useable_etl_configurations
193+
190194
general.flush_or_commit(with_commit)
191195

192196
return dataset

0 commit comments

Comments
 (0)