def getCurrentConnConfig(self):
        conn_id = self.currentItem().id
        conn = self.__list.get_connection(conn_id)
        config = self.getConnectionInfo(conn_id)
        if conn.dbtype == 'MySQL':
            #removing extra keyword arguments for MySQldb
            del config['name']
        return config
getCurrentConnConfig() -> dict
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QDBConnectionList.getCurrentConnConfig