code: def _coerce_parse_result(results):
      # type: (Union[ParseResults, List[Any]]) -> List[Any]
      if isinstance(results, ParseResults):
          return [_coerce_parse_result(i) for i in results]
      else:
          return results
  
imports: from __future__ import absolute_import, division, print_function
  import operator
  import os
  import platform
  import sys
  from pyparsing import Forward, Group, Literal, ParseException, ParseResults, QuotedString, ZeroOrMore, stringEnd, stringStart
  from ._compat import string_types
  from ._typing import TYPE_CHECKING
  from .specifiers import InvalidSpecifier, Specifier
label_desc: Use image node_id 1 for calling a global function with example usage: _coerce_parse_result(results) and returns: unknown, results