diplomat.core_ops.restore
- diplomat.core_ops.restore(state: List[PathLike | str] | PathLike | str) None[source]
Restore the state of the diplomat UI from a .dipui file. Allows for reloading the UI when diplomat crashes. Settings and backend will be restored automatically based on the settings and info passed during the first run.
- Parameters:
state – A path or list of paths to the ui states to restore. Files should be of “.dipui” format.