boulderopalscaleup.QctrlScaleUpClient.load_device_snapshot
*async* QctrlScaleUpClient.load_device_snapshot(snapshot, device_name=None)Sets the state of a device by applying a snapshot obtained from save_device_snapshot.
Parameters
- snapshot (Path | str) – The path to a snapshot file.
- device_name (str or None , optional) – The name of the device to apply the snapshot. Defaults to the current device.
Raises
ScaleUpClientError – If no current device is set.