mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:05:58 +08: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
@ -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…
x
Reference in New Issue
Block a user