code: def messages(decl, reason, issues):
      def description(for_rst):
          return (
              f"is experimental: {reason}{issue_text(issues, for_rst)}. It may be difficult to "
              "use and may have major changes at any time."
          )
  
      direct = f"{decl.__qualname__} {description(False)}"
      rst = f"""\
  .. warning::
  
     ``{decl.__qualname__}`` {description(True)}
  """
  
      return direct, rst
  
file_path: stellargraph/stellargraph/core/experimental.py
imports: import functools
  from textwrap import dedent
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: messages(decl, reason, issues) and returns: direct,  rst, str, reason, issue_text, str