Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.36 (2026-07-03)

- Support backup and restore grafana monitoring resources.

## 0.9.35 (2026-06-26)

- Do not send request body on GET/HEAD requests.
Expand Down
2 changes: 1 addition & 1 deletion python/mujinwebstackclient/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.9.35'
__version__ = '0.9.36'

# Do not forget to update CHANGELOG.md
6 changes: 6 additions & 0 deletions python/mujinwebstackclient/webstackclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ def Backup(
saveeds=True,
saveiodd=True,
savecalendar=True,
savemonitoring=True,
logentrytimerange=None,
logentryids=None,
logtypes=None,
Expand All @@ -1107,6 +1108,7 @@ def Backup(
:param saveeds: Whether we want to include eds files in the backup, defaults to True
:param saveiodd: Whether we want to include iodd files in the backup, defaults to True
:param savecalendar: Whether we want to include the production calendar in the backup, defaults to True
:param savemonitoring: Whether we want to include the grafana monitoring resources in the backup, defaults to True
:param logentrytimerange: Timestamp range for backing up log entries, defaults to None
:param logentryids: A list of log entry IDs for backing up log entries, defaults to None
:param logtypes: A list of log entry types for backing up log entries, defaults to None
Expand Down Expand Up @@ -1136,6 +1138,7 @@ def Backup(
'eds': 'true' if saveeds else 'false',
'iodd': 'true' if saveiodd else 'false',
'calendar': 'true' if savecalendar else 'false',
'monitoring': 'true' if savemonitoring else 'false',
'logEntryTimeRange': logentrytimerange,
'logEntryIds': ','.join(logentryids) if logentryids else None,
'logTypes': ','.join(logtypes) if logtypes else None,
Expand All @@ -1162,6 +1165,7 @@ def Restore(
restoreeds=True,
restoreiodd=True,
restorecalendar=True,
restoremonitoring=True,
archiveformat=None,
timeout=600,
):
Expand All @@ -1175,6 +1179,7 @@ def Restore(
:param restoreeds: Whether we want to restore the eds files, defaults to True
:param restoreiodd: Whether we want to restore the iodd files, defaults to True
:param restorecalendar: Whether we want to restore the production calendar, defaults to True
:param restoremonitoring: Whether we want to restore the grafana monitoring resources, defaults to True
:param archiveformat: The backup file archive format, supported values are tar.gz and zip, defaults to None
:param timeout: Amount of time in seconds to wait before failing, defaults to 600
:raises WebstackClientError: If request wasn't successful
Expand All @@ -1192,6 +1197,7 @@ def Restore(
'eds': 'true' if restoreeds else 'false',
'iodd': 'true' if restoreiodd else 'false',
'calendar': 'true' if restorecalendar else 'false',
'monitoring': 'true' if restoremonitoring else 'false',
'archiveFormat': archiveformat,
},
timeout=timeout,
Expand Down
Loading