@staticmethod
  def GetViewfinderTempDirPath():
    assert _server_environment is not None
    if not _server_environment._vf_temp_dir:
      # If running as production, this should already be set.
      # Even if this is devbox, it may have been set explicitly with the vf_temp_dir option.
      assert _server_environment._is_devbox
      # This is commonly the path that will be taken for tests.
      _server_environment._vf_temp_dir = tempfile.mkdtemp()
      atexit.register(shutil.rmtree, _server_environment._vf_temp_dir)

    return _server_environment._vf_temp_dir
Gets the path to the temp dir that viewfinder should use as temp.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/environ.py/ServerEnvironment.GetViewfinderTempDirPath