mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 11:47:50 -06:00
Update comment
CURA-9514
This commit is contained in:
parent
7ffa770fb4
commit
bedb76d516
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ class AbstractMachine(GlobalStack):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getMachines(cls, abstract_machine: ContainerStack) -> List[ContainerStack]:
|
def getMachines(cls, abstract_machine: ContainerStack) -> List[ContainerStack]:
|
||||||
""" Fetches containers for all machines that match definition with an abstract machine.
|
""" Fetches all container stacks that match definition_id with an abstract machine.
|
||||||
|
|
||||||
:param abstractMachine: The abstract machine stack.
|
:param abstractMachine: The abstract machine stack.
|
||||||
:return: A list of Containers or an empty list if stack is not an "abstract_machine"
|
:return: A list of Containers or an empty list if abstract_machine is not an "abstract_machine"
|
||||||
"""
|
"""
|
||||||
if not abstract_machine.getMetaDataEntry("type") == "abstract_machine":
|
if not abstract_machine.getMetaDataEntry("type") == "abstract_machine":
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue