code: def get_config_comments(func):
      filename = inspect.getfile(func)
      func_body, line_offset = get_function_body(func)
      body_source = dedent_function_body(func_body)
      body_code = compile(
          body_source, filename, "exec", ast.PyCF_ONLY_AST
      )
      body_lines = body_source.split("\n")
  
      variables = {"seed": "the random seed for this experiment"}
  
      for ast_root in body_code.body:
          for ast_entry in [ast_root] + list(
              ast.iter_child_nodes(ast_root)
          ):
              if isinstance(ast_entry, ast.Assign):
                  # we found an assignment statement
                  # go through all targets of the assignment
                  # usually a single entry, but can be more for statements like:
                  # a = b = 5
                  for t in ast_entry.targets:
                      add_doc(t, variables, body_lines)
  
      return variables
  
imports: import ast
  import inspect
  import io
  import re
  import textwrap
  import token
  from copy import copy
  from sacred import SETTINGS
  from sacred.config.config_summary import ConfigSummary
  from sacred.config.utils import dogmatize, normalize_or_die, recursive_fill_in
  from sacred.config.signature import get_argspec
  from sacred.utils import ConfigError
  from tokenize import generate_tokens, tokenize, TokenError, COMMENT
label_desc: Use image node_id 10 for calling a global function with example usage: get_config_comments(func) and returns: variables