code: def setTimeAttr(attrDict, timeVal):
      (mins, seconds) = timeVal.split("m")
      seconds = float(seconds.strip("s")) + (60 * int(mins))
      attrDict["time"] = str(seconds)
  
file_path: cuml/ci/utils/nbtestlog2junitxml.py
imports: import re
  from xml.etree.ElementTree import Element, ElementTree
  from os import path
  import string
  from enum import Enum
label_desc: Use image node_id 8 for calling a global function with example usage: setTimeAttr(attrDict, timeVal) without return types