code: def _convert_value(value):
      """Parse string as python literal if possible and fallback to string."""
      try:
          return restore(ast.literal_eval(value))
      except (ValueError, SyntaxError):
          if SETTINGS.COMMAND_LINE.STRICT_PARSING:
              raise
          # use as string if nothing else worked
          return value
  
file_path: sacred/sacred/arg_parser.py
imports: import ast
  import textwrap
  import inspect
  from shlex import quote
  from sacred.serializer import restore
  from sacred.settings import SETTINGS
  from sacred.utils import set_by_dotted_path
  from sacred.commandline_options import CLIOption
label_desc: Use image node_id 7 for calling a global function with example usage: _convert_value(value) and returns: restore, value