mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Ensure that all material configs are added to the list
CURA-8463
This commit is contained in:
parent
6fed6b824c
commit
e2ba110cf7
4 changed files with 26 additions and 6 deletions
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2019 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
from typing import Optional, List
|
||||
|
||||
from .CloudClusterResponse import CloudClusterResponse
|
||||
from .ClusterPrinterStatus import ClusterPrinterStatus
|
||||
|
||||
|
||||
class CloudClusterWithConfigResponse(CloudClusterResponse):
|
||||
"""Class representing a cloud connected cluster."""
|
||||
|
||||
def __init__(self, **kwargs) -> None:
|
||||
self.configuration = self.parseModel(ClusterPrinterStatus, kwargs.get("host_printer"))
|
||||
super().__init__(**kwargs)
|
Loading…
Add table
Add a link
Reference in a new issue