splinepy.utils.data.SplineData.get#

SplineData.get(key, default_values=None)#

Returns stored item if the key exists. Else, given default value. If the key exist, default value always exists, since it is initialized that way.

Parameters:
  • key (str)

  • default_values (object)

Returns:

value

Return type:

object