mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:55:53 +08:00
Convert _updateOnlinePrinters to static
CURA-8463
This commit is contained in:
parent
f4c4b52d9b
commit
7eabbd7b5c
@ -249,7 +249,8 @@ class CloudOutputDeviceManager:
|
|||||||
|
|
||||||
message.finalize(new_devices_added, new_output_devices)
|
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.
|
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.
|
:param printer_responses: The responses received from the API about the printer statuses.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user