mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +08:00
Add type hinting for container_id in ExtruderStack
CURA-4049
This commit is contained in:
parent
024f2384e0
commit
18fddf50c7
@ -20,7 +20,7 @@ if TYPE_CHECKING:
|
||||
#
|
||||
#
|
||||
class ExtruderStack(CuraContainerStack):
|
||||
def __init__(self, container_id, *args, **kwargs):
|
||||
def __init__(self, container_id: str, *args, **kwargs):
|
||||
super().__init__(container_id, *args, **kwargs)
|
||||
|
||||
self.addMetaDataEntry("type", "extruder_train") # For backward compatibility
|
||||
|
Loading…
x
Reference in New Issue
Block a user