class_docstr_tok: []
code: def __init__(self, prefix: str) -> None:
      self._dir = tempfile.mkdtemp(prefix=prefix, dir=_LOCAL_TMP)
  
file_path: bokeh/tests/support/util/filesystem.py
imports: from __future__ import annotations
  import logging
  import os
  import shutil
  import sys
  import tempfile
  from contextlib import contextmanager
  from types import TracebackType
  from typing import IO, Awaitable, Callable, ContextManager, Iterator
  from bokeh.core.types import PathLike
label_desc: Use image node_id 1 to create a new TmpDir object from inherited base classes: ContextManager with example: obj = TmpDir(prefix)