Skip to content

Commit a51b8a5

Browse files
committed
Fix DSSStatisticsWorksheetSettings.save()
Update the internal worksheet settings while saving, because DSS server might perform additional changes (ie. fixup mechanic)
1 parent 27e926b commit a51b8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def save(self):
126126
"""
127127
Saves the settings to DSS
128128
"""
129-
return self.client._perform_json(
129+
self._worksheet_definition = self.client._perform_json(
130130
"PUT",
131131
"/projects/%s/datasets/%s/statistics/worksheets/%s" % (
132132
self.project_key, self.dataset_name, self.worksheet_id),

0 commit comments

Comments
 (0)