def delete_recursive(self, path):
    if self.needs_connection or not self.handle.connected:
      self.reestablish_connection()

    try:
      children = self.run_with_retry(self.handle.get_children, path)
      for child in children:
        self.delete_recursive(PATH_SEPARATOR.join([path, child]))
      self.run_with_retry(self.handle.delete, path)
    except kazoo.exceptions.NoNodeError:
      pass
    except kazoo.exceptions.KazooException as kazoo_exception:
      logging.exception(kazoo_exception)
      self.reestablish_connection()
Deletes the ZooKeeper node at path, and any child nodes it may have.
dataset/ETHPy150Open AppScale/appscale/AppDB/zkappscale/zktransaction.py/ZKTransaction.delete_recursive