From 45e7d15c805a23cadba3eb8de7a66df9a8b1ecb4 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 30 Aug 2022 11:36:47 +0200 Subject: [PATCH] Add documentation for _onDiscoveredDeviceRemoved --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 3d5d43b131..b290095be7 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -249,7 +249,6 @@ class CloudOutputDeviceManager: message.finalize(new_devices_added, new_output_devices) - def _updateOnlinePrinters(self, printer_responses: Dict[str, CloudClusterResponse]) -> None: """ Update the metadata of the printers to store whether they are online or not. @@ -368,6 +367,7 @@ class CloudOutputDeviceManager: self._removed_printers_message.show() def _onDiscoveredDeviceRemoved(self, device_id: str) -> None: + """ Remove the CloudOutputDevices for printers that are offline""" device: Optional[CloudOutputDevice] = self._remote_clusters.pop(device_id, None) if not device: return