(self)
Close the connection
Close the connection
Close the connection
def _close(self):
        """
        Close the connection
        """
        if self.conn:
            self.conn.commit()
            self.conn.close()
def _close ( self ) : if self . conn : self . conn . commit ( ) self . conn . close ( )