code: def parse_time(value):
      """
      If ``value`` is a string, convert it to integral number of seconds.
      """
      return _parse_unit(value, "s", _time_units)
  
file_path: nni/nni/experiment/config/utils/public.py
imports: import dataclasses
  import math
  from pathlib import Path
  from typing import Union
label_desc: Use image node_id 4 for calling a global function with example usage: parse_time(value) and returns: _parse_unit