code: def _default_storage_manager() -> storage.SharedFSStorageManager:
      base_path = (
          pathlib.Path(appdirs.user_data_dir("determined"))
          / "checkpoints"
      )
      if not base_path.exists():
          base_path.mkdir(parents=True)
  
      logger.info(
          f"no storage_manager provided; storing checkpoints in {str(base_path)}"
      )
      storage_manager = storage.SharedFSStorageManager(str(base_path))
      return storage_manager
  
file_path: determined/harness/determined/experimental/core_v2/_core_context_v2.py
imports: import logging
  import pathlib
  from typing import Any, Dict, Optional, Union
  import appdirs
  import determined
  from determined import core, experimental, tensorboard
  from determined.common import api, constants, storage, util
  from determined.common.api import certs
label_desc: Use image node_id 1 for calling a global function with example usage: _default_storage_manager() and returns: storage_manager