mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:58:58 +08:00
printer_type has a default value so cannot be Optional
This commit is contained in:
parent
70c679859a
commit
56c1da2580
@ -20,7 +20,7 @@ class CloudClusterResponse(BaseCloudModel):
|
|||||||
# \param printer_type: The machine type of the host printer.
|
# \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,
|
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,
|
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.cluster_id = cluster_id
|
||||||
self.host_guid = host_guid
|
self.host_guid = host_guid
|
||||||
self.host_name = host_name
|
self.host_name = host_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user