class_docstr: Observer thread that schedules watching directories and dispatches
  calls to event handlers.
class_docstr_tok: ["Observer","thread","that","schedules","watching","directories","and","dispatches","calls","to","event","handlers","."]
code: def __init__(self, timeout=DEFAULT_OBSERVER_TIMEOUT):
      BaseObserver.__init__(
          self, emitter_class=KqueueEmitter, timeout=timeout
      )
  
imports: from __future__ import with_statement
  from wandb_watchdog.utils import platform
  import threading
  import errno
  import sys
  import stat
  import os
  from wandb_watchdog.observers.api import BaseObserver, EventEmitter, DEFAULT_OBSERVER_TIMEOUT, DEFAULT_EMITTER_TIMEOUT
  from wandb_watchdog.utils.dirsnapshot import DirectorySnapshot
  from wandb_watchdog.events import DirMovedEvent, DirDeletedEvent, DirCreatedEvent, DirModifiedEvent, FileMovedEvent, FileDeletedEvent, FileCreatedEvent, FileModifiedEvent, EVENT_TYPE_MOVED, EVENT_TYPE_DELETED, EVENT_TYPE_CREATED
label_desc: Use image node_id 1 to create a new KqueueObserver object from inherited base classes: BaseObserver with example: obj = KqueueObserver(timeout)