mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Convert _updateOnlinePrinters to static
CURA-8463
This commit is contained in:
parent
f4c4b52d9b
commit
7eabbd7b5c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue