Fix deprecation warning

CURA-6600
This commit is contained in:
Jaime van Kessel 2019-08-20 14:49:47 +02:00
parent 46b489c3f9
commit b5d826fab9
2 changed files with 4 additions and 4 deletions

View file

@ -24,6 +24,7 @@ class ContainerNode:
self.children_map = {} # type: Dict[str, ContainerNode] # Mapping from container ID to container node.
## Gets the metadata of the container that this node represents.
# Getting the metadata from the container directly is about 10x as fast.
# \return The metadata of the container in this node.
@deprecated("Get the metadata from the container with the ID of this node yourself.", "4.3")
def getMetadata(self):