Add typing for MachineNodeMap's constructor

Contributes to issue CURA-6793.

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

View file

@ -83,7 +83,7 @@ class ContainerTree:
#
# This handles the lazy loading of MachineNodes.
class MachineNodeMap:
def __init__(self):
def __init__(self) -> None:
self._machines = {}
## Returns whether a printer with a certain definition ID exists. This