code: def _make_temp_directory(prefix):
      """
      Generate a temporary directory that would not live beyond the lifetime of
      unity_server.
  
      Caller is expected to clean up the temp file as soon as the directory is no
      longer needed. But the directory will be cleaned as unity_server restarts
      """
      temp_dir = _make_temp_filename(prefix=str(prefix))
      _os.makedirs(temp_dir)
      return temp_dir
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import urllib
  import re
  import itertools
  import uuid
  import datetime
  import sys
  from ._sframe_generation import generate_random_sframe
  from ._sframe_generation import generate_random_regression_sframe
  from ._sframe_generation import generate_random_classification_sframe
  from ._type_checks import _raise_error_if_not_of_type
  from ._type_checks import _is_non_string_iterable
  from ._progress_table_printer import ProgressTablePrinter
label_desc: Use image node_id 12 for calling a global function with example usage: _make_temp_directory(prefix) and returns: temp_dir