class_docstr: Syncer using a background process for asynchronous file transfer.
class_docstr_tok: ["Syncer","using","a","background","process","for","asynchronous","file","transfer","."]
code: def __init__(
      self,
      sync_period: float = DEFAULT_SYNC_PERIOD,
      sync_timeout: float = DEFAULT_SYNC_TIMEOUT,
  ):
      super(_BackgroundSyncer, self).__init__(
          sync_period=sync_period, sync_timeout=sync_timeout
      )
      self._sync_process = None
      self._current_cmd = None
  
imports: import abc
  import logging
  import threading
  import time
  import traceback
  import warnings
  from dataclasses import dataclass
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  from ray._private.thirdparty.tabulate.tabulate import tabulate
  from ray.train.constants import _DEPRECATED_VALUE
  from ray.util import log_once
  from ray.util.annotations import PublicAPI
  from ray.widgets import Template
label_desc: Use image node_id 1 to create a new _BackgroundSyncer object from inherited base classes: Syncer with example: obj = _BackgroundSyncer(sync_period, sync_timeout)