class_docstr: Base observer.
class_docstr_tok: ["Base","observer","."]
docstr: Unschedules a watch.
  
  :param watch:
      The watch to unschedule.
  :type watch:
      An instance of :class:`ObservedWatch` or a subclass of
      :class:`ObservedWatch`
docstr_tok: ["Unschedules","a","watch",".",":","param","watch",":","The","watch","to","unschedule",".",":","type","watch",":","An","instance","of",":","class",":","`","ObservedWatch","`","or","a","subclass","of",":","class",":","`","ObservedWatch","`"]
code: def unschedule(self, watch):
      """Unschedules a watch.
  
      :param watch:
          The watch to unschedule.
      :type watch:
          An instance of :class:`ObservedWatch` or a subclass of
          :class:`ObservedWatch`
      """
      with self._lock:
          emitter = self._emitter_for_watch[watch]
          del self._handlers[watch]
          self._remove_emitter(emitter)
          self._watches.remove(watch)
  
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 12 for calling the BaseObserver obj's underlying member method code with example usage: obj.unschedule(watch) without return types