Add type hinting

This commit is contained in:
ChrisTerBeke 2018-01-25 22:47:02 +01:00
parent 80b589344f
commit 01b8bd60bd
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263

View file

@ -91,7 +91,7 @@ class PrinterOutputModel(QObject):
self._controller.homeBed(self)
@pyqtSlot(str)
def sendCustomCommand(self, command):
def sendCustomCommand(self, command: str):
self._controller.sendCustomCommand(self, command)
@pyqtProperty("QVariantList", constant = True)