weldx.WeldxFile.get#

WeldxFile.get(key, default=None)#

Get data attached to given key from file.

Parameters:
  • key – The name of the data.

  • default – The default is being returned in case the given key cannot be found.

Raises:

KeyError – Raised if the given key cannot be found and no default was provided.