class_docstr: A wrapper for `Inotify` that holds events for `delay` seconds. During
  this time, IN_MOVED_FROM and IN_MOVED_TO events are paired.
docstr: Returns a single event or a tuple of from/to events in case of a
  paired move event. If this buffer has been closed, immediately return
  None.
docstr_tok: ["Returns","a","single","event","or","a","tuple","of","from\/to","events","in","case","of","a","paired","move","event",".","If","this","buffer","has","been","closed",",","immediately","return","None","."]
code: def read_event(self):
      """Returns a single event or a tuple of from/to events in case of a
      paired move event. If this buffer has been closed, immediately return
      None.
      """
      return self._queue.get()
  
file_path: wandb/wandb/vendor/watchdog_0_9_0/wandb_watchdog/observers/inotify_buffer.py
imports: import logging
  from wandb_watchdog.utils import BaseThread
  from wandb_watchdog.utils.delayed_queue import DelayedQueue
  from wandb_watchdog.observers.inotify_c import Inotify
label_desc: Use image node_id 2 for calling the InotifyBuffer obj's underlying member method code with example usage: obj.read_event() and returns: self