mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Add missing Any import
This commit is contained in:
parent
70055d35c0
commit
d29ae60d38
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Cura is released under the terms of the AGPLv3 or higher.
|
||||
|
||||
from typing import Any
|
||||
|
||||
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot
|
||||
|
||||
from UM.Decorators import override
|
||||
|
@ -21,7 +23,7 @@ class ExtruderStack(CuraContainerStack):
|
|||
self.addMetaDataEntry("type", "extruder_train") # For backward compatibility
|
||||
|
||||
@override(ContainerStack)
|
||||
def setNextStack(self, stack):
|
||||
def setNextStack(self, stack: ContainerStack) -> None:
|
||||
super().setNextStack(stack)
|
||||
stack.addExtruder(self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue