MCPcopy
hub / github.com/gorakhargosh/watchdog / EventHandler

Class EventHandler

tests/test_observer.py:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 """
71
72 class EventHandler(FileSystemEventHandler):
73 def on_modified(self, event):
74 observer.unschedule(watch)
75 unschedule_finished.set()
76
77 unschedule_finished = threading.Event()
78 watch = observer.schedule(EventHandler(), "")

Callers 1

test_unschedule_selfFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_unschedule_selfFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…