class_docstr: This filesystem enables to easily move files from and to the shared storage.
class_docstr_tok: ["This","filesystem","enables","to","easily","move","files","from","and","to","the","shared","storage","."]
docstr: This method enables to get files from the shared storage in a blocking fashion.
  
  Arguments:
      src_path: The path to your files in the shared storage
      dst_path: The path to your files transfered locally
      get_fn: The method to use to put files in the shared storage.
docstr_tok: ["This","method","enables","to","get","files","from","the","shared","storage","in","a","blocking","fashion",".","Arguments",":","src_path",":","The","path","to","your","files","in","the","shared","storage","dst_path",":","The","path","to","your","files","transfered","locally","get_fn",":","The","method","to","use","to","put","files","in","the","shared","storage","."]
code: def get(
      self,
      src_path: str,
      dst_path: str,
      overwrite: bool = True,
      get_fn: Callable = _get_files,
  ) -> None:
      """This method enables to get files from the shared storage in a blocking fashion.
  
      Arguments:
          src_path: The path to your files in the shared storage
          dst_path: The path to your files transfered locally
          get_fn: The method to use to put files in the shared storage.
  
      """
      if not src_path.startswith("/"):
          raise Exception(
              f"The provided destination {src_path} needs to start with `/`."
          )
  
      src = Path(os.path.join(self._root, src_path[1:])).resolve()
      dst = Path(dst_path).resolve()
  
      return get_fn(fs=self._fs, src=src, dst=dst, overwrite=overwrite)
  
file_path: pytorch-lightning/src/lightning/app/storage/filesystem.py
imports: import os
  import shutil
  from pathlib import Path
  from typing import Callable, List
  from fsspec.implementations.local import LocalFileSystem
  from lightning.app.storage.copier import _copy_files
  from lightning.app.storage.path import _filesystem, _shared_storage_path
label_desc: Use image node_id 3 for calling the FileSystem obj's underlying member method code with example usage: obj.get(src_path, dst_path, overwrite, get_fn) and returns: get_fn