Add typings

Contributes to CL-1331
This commit is contained in:
Ian Paschal 2019-05-15 10:09:27 +02:00
parent c4ca133b40
commit c7f6351903
2 changed files with 4 additions and 4 deletions

View file

@ -280,7 +280,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
# ensure that the connection states are refreshed.
self.refreshConnections()
def _checkManualDevice(self, address: str):
def _checkManualDevice(self, address: str) -> Optional[QNetworkReply]:
# Check if a UM3 family device exists at this address.
# If a printer responds, it will replace the preliminary printer created above
# origin=manual is for tracking back the origin of the call