Add typing for _machines

Contributes to issue CURA-6793.

Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Ghostkeeper 2019-10-23 07:40:12 +00:00 committed by GitHub
parent 87f9c6d7cc
commit f3736f0576
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ class ContainerTree:
# This handles the lazy loading of MachineNodes.
class MachineNodeMap:
def __init__(self) -> None:
self._machines = {}
self._machines = {} # type: Dict[str, MachineNode]
## Returns whether a printer with a certain definition ID exists. This
# is regardless of whether or not the printer is loaded yet.