weldx.WeldxFile.popitem#

WeldxFile.popitem()#

Remove the item that was last inserted into the file.

Notes

The assumption of an ordered dictionary, that this method returns the key inserted lastly, does not hold necessarily. E.g. if the file has been written to disk and is loaded again the previous order has been lost eventually.

Returns:

the last item.

Return type:

object