class_docstr: Base observer.
class_docstr_tok: ["Base","observer","."]
code: def __init__(self, emitter_class, timeout=DEFAULT_OBSERVER_TIMEOUT):
      EventDispatcher.__init__(self, timeout)
      self._emitter_class = emitter_class
      self._lock = threading.RLock()
      self._watches = set()
      self._handlers = dict()
      self._emitters = set()
      self._emitter_for_watch = dict()
  
imports: from __future__ import with_statement
  import threading
  from wandb_watchdog.utils import BaseThread
  from wandb_watchdog.utils.compat import queue
  from wandb_watchdog.utils.bricks import SkipRepeatsQueue
label_desc: Use image node_id 1 to create a new BaseObserver object from inherited base classes: EventDispatcher with example: obj = BaseObserver(emitter_class, timeout)