def getConnectionInfo(self, id):
        conn = self.__list.get_connection(id)
        key = str(conn.id) + "." + conn.name + "." + conn.host
        passwd = DBLocator.keyChain.get_key(key)
        if conn is not None:
            config = {'id': conn.id,
                      'name': conn.name,
                      'host': conn.host,
                      'port': conn.port,
                      'user': conn.user,
                      'passwd': passwd,
                      'db': conn.database}
        else:
            config = None
        return config
getConnectionInfo(id: int) -> dict
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QDBConnectionList.getConnectionInfo