def flush_changes(self):
    ' Erases the collection of changes stored in memory'
    with lock:
        self._changes = dict()
Erases the collection of changes stored in memory
def flush_changes(self):
    ' '
    with lock:
        self._changes = dict()