mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-28 23:04:34 +08:00
Fix typing issue
This commit is contained in:
parent
5ee6cd7e8f
commit
189d873fc1
@ -14,7 +14,7 @@ class ClusterPrinterMaterialStation(BaseModel):
|
||||
# \param: supported: Whether the material station is supported on this machine or not.
|
||||
# \param material_slots: The active slots configurations of this material station.
|
||||
def __init__(self, status: str, supported: bool = False,
|
||||
material_slots: Union[None, Dict[str, Any], ClusterPrinterMaterialStationSlot] = None,
|
||||
material_slots: List[Union[None, Dict[str, Any], ClusterPrinterMaterialStationSlot]] = None,
|
||||
**kwargs) -> None:
|
||||
self.status = status
|
||||
self.supported = supported
|
||||
|
Loading…
x
Reference in New Issue
Block a user