code: def _format_text(text: str) -> str:
      return "\n\n" + textwrap.indent(text.strip(), "    ") + "\n"
  
file_path: optuna/optuna/_deprecated.py
imports: import functools
  import textwrap
  from typing import Any
  from typing import Callable
  from typing import Optional
  from typing import TYPE_CHECKING
  from typing import TypeVar
  import warnings
  from packaging import version
  from optuna._experimental import _get_docstring_indent
  from optuna._experimental import _validate_version
label_desc: Use image node_id 2 for calling a global function with example usage: _format_text(text) and returns: unknown