def disconnect(self):
        """
        Stops and closes the kazoo connection.
        """
        logger.info("Disconnecting from Zookeeper.")
        self.client.stop()
        self.client.close()
def disconnect ( self ) : logger . info ( "Disconnecting from Zookeeper." ) self . client . stop ( ) self . client . close ( )
Stops and closes the kazoo connection.