code: def __new__(cls, **kwargs: Any) -> "NamedTemporaryFilePool":
      if not hasattr(cls, "_instance"):
          cls._instance = super(NamedTemporaryFilePool, cls).__new__(
              cls
          )
          atexit.register(cls._instance.cleanup)
      return cls._instance
  
file_path: optuna/optuna/testing/tempfile_pool.py
imports: from __future__ import annotations
  import atexit
  import gc
  import os
  import tempfile
  from types import TracebackType
  from typing import Any
  from typing import IO
label_desc: Use image node_id 1 for calling the NamedTemporaryFilePool obj's underlying member method code with example usage: obj.__new__(cls) and returns: cls