dj_angles.mappers.utils

Module Contents

dj_angles.mappers.utils.get_attribute_value_or_first_key(tag: dj_angles.tags.Tag, attribute_name: str) str

Gets the first attribute key or the first value for a particular attribute name.

Parameters:
  • tag (param) – The tag to get attributes from.

  • attribute_name (param) – The name of the attribute to get.