CURA-5330 Change TYPE_CHECKING flag

This commit is contained in:
Diego Prado Gesto 2018-06-08 15:54:28 +02:00
parent fcdb1aef52
commit 1982c9b84c

View file

@ -2,9 +2,9 @@
# Cura is released under the terms of the LGPLv3 or higher.
from PyQt5.QtCore import pyqtSignal, pyqtProperty, QObject, pyqtSlot
from typing import Optional
MYPY = False
if MYPY:
from typing import Optional, TYPE_CHECKING
if TYPE_CHECKING:
from cura.PrinterOutput.PrinterOutputController import PrinterOutputController
from cura.PrinterOutput.PrinterOutputModel import PrinterOutputModel