CURA-5330 Add typing to PrintJobOutputModel

This commit is contained in:
Diego Prado Gesto 2018-06-08 15:48:47 +02:00
parent e1ecbdf8fe
commit ace7e89ea0

View file

@ -18,7 +18,7 @@ class PrintJobOutputModel(QObject):
assignedPrinterChanged = pyqtSignal() assignedPrinterChanged = pyqtSignal()
ownerChanged = pyqtSignal() ownerChanged = pyqtSignal()
def __init__(self, output_controller: "PrinterOutputController", key: str = "", name: str = "", parent=None): def __init__(self, output_controller: "PrinterOutputController", key: str = "", name: str = "", parent=None) -> None:
super().__init__(parent) super().__init__(parent)
self._output_controller = output_controller self._output_controller = output_controller
self._state = "" self._state = ""