code: def get_function_body_code(func):
      filename = inspect.getfile(func)
      func_body, line_offset = get_function_body(func)
      body_source = dedent_function_body(func_body)
      try:
          body_code = compile(
              body_source, filename, "exec", ast.PyCF_ONLY_AST
          )
          body_code = ast.increment_lineno(body_code, n=line_offset)
          body_code = compile(body_code, filename, "exec")
      except SyntaxError as e:
          if e.args[0] == "'return' outside function":
              filename, lineno, _, statement = e.args[1]
              raise SyntaxError(
                  "No return statements allowed in ConfigScopes\n"
                  "('{}' in File \"{}\", line {})".format(
                      statement.strip(), filename, lineno
                  )
              ) from e
          elif e.args[0] == "'yield' outside function":
              filename, lineno, _, statement = e.args[1]
              raise SyntaxError(
                  "No yield statements allowed in ConfigScopes\n"
                  "('{}' in File \"{}\", line {})".format(
                      statement.strip(), filename, lineno
                  )
              ) from e
          else:
              raise
      return body_code
  
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 6 for calling a global function with example usage: get_function_body_code(func) and returns: body_code