class_docstr: Syncer between local filesystem and a `storage_filesystem`.
class_docstr_tok: ["Syncer","between","local","filesystem","and","a","`","storage_filesystem","`","."]
code: def __init__(
      self,
      storage_filesystem: Optional["pyarrow.fs.FileSystem"],
      **kwargs,
  ):
      self.storage_filesystem = storage_filesystem
      super().__init__(**kwargs)
  
imports: import dataclasses
  import fnmatch
  import logging
  import os
  import shutil
  from pathlib import Path
  from typing import TYPE_CHECKING, Callable, Dict, List, Optional, Tuple, Type, Union
  from ray._private.storage import _get_storage_uri
  from ray.air._internal.filelock import TempFileLock
  from ray.train._internal.syncer import SyncConfig, Syncer, _BackgroundSyncer
  from ray.train.constants import _get_defaults_results_dir
label_desc: Use image node_id 1 to create a new _FilesystemSyncer object from inherited base classes: _BackgroundSyncer with example: obj = _FilesystemSyncer(storage_filesystem)