mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -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
|
||||
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.
|
||||
: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":
|
||||
return []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue