disconnect method

disconnect

Stops observer from observing any mutations. Until the observe() method is used again, observer’s callback will not be invoked.

def disconnect(self):
    ...

See Also