mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 07:14:24 +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: supported: Whether the material station is supported on this machine or not.
|
||||||
# \param material_slots: The active slots configurations of this material station.
|
# \param material_slots: The active slots configurations of this material station.
|
||||||
def __init__(self, status: str, supported: bool = False,
|
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:
|
**kwargs) -> None:
|
||||||
self.status = status
|
self.status = status
|
||||||
self.supported = supported
|
self.supported = supported
|
||||||
|
Loading…
x
Reference in New Issue
Block a user