Convert _updateOnlinePrinters to static

CURA-8463
This commit is contained in:
Jaime van Kessel 2022-08-30 11:52:13 +02:00
parent f4c4b52d9b
commit 7eabbd7b5c
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -249,7 +249,8 @@ class CloudOutputDeviceManager:
message.finalize(new_devices_added, new_output_devices)
def _updateOnlinePrinters(self, printer_responses: Dict[str, CloudClusterResponse]) -> None:
@staticmethod
def _updateOnlinePrinters(printer_responses: Dict[str, CloudClusterResponse]) -> None:
"""
Update the metadata of the printers to store whether they are online or not.
:param printer_responses: The responses received from the API about the printer statuses.