mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
Fix typing issues
This commit is contained in:
parent
7b45100dd0
commit
13e85362b0
2 changed files with 6 additions and 4 deletions
|
@ -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: List[Union[None, Dict[str, Any], ClusterPrinterMaterialStationSlot]] = None,
|
||||
material_slots: List[Union[ClusterPrinterMaterialStationSlot, Dict[str, Any]]] = None,
|
||||
**kwargs) -> None:
|
||||
self.status = status
|
||||
self.supported = supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue