From 56c1da2580f39207ceec0ecb36a2f37b9efd85f1 Mon Sep 17 00:00:00 2001 From: ChrisTerBeke Date: Tue, 14 May 2019 21:01:34 +0200 Subject: [PATCH] printer_type has a default value so cannot be Optional --- .../UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py b/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py index a5b4dfdf40..8e8145a1bc 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/Models/CloudClusterResponse.py @@ -20,7 +20,7 @@ class CloudClusterResponse(BaseCloudModel): # \param printer_type: The machine type of the host printer. def __init__(self, cluster_id: str, host_guid: str, host_name: str, is_online: bool, status: str, host_internal_ip: Optional[str] = None, host_version: Optional[str] = None, - friendly_name: Optional[str] = None, printer_type: Optional[str] = "Ultimaker 3", **kwargs) -> None: + friendly_name: Optional[str] = None, printer_type: str = "Ultimaker 3", **kwargs) -> None: self.cluster_id = cluster_id self.host_guid = host_guid self.host_name = host_name