mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Add typing for _machines
Contributes to issue CURA-6793. Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
87f9c6d7cc
commit
f3736f0576
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class ContainerTree:
|
||||||
# This handles the lazy loading of MachineNodes.
|
# This handles the lazy loading of MachineNodes.
|
||||||
class MachineNodeMap:
|
class MachineNodeMap:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self._machines = {}
|
self._machines = {} # type: Dict[str, MachineNode]
|
||||||
|
|
||||||
## Returns whether a printer with a certain definition ID exists. This
|
## Returns whether a printer with a certain definition ID exists. This
|
||||||
# is regardless of whether or not the printer is loaded yet.
|
# is regardless of whether or not the printer is loaded yet.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue