environment/lib/python2.7/site-packages/IPython/parallel/controller/sqlitedb.py
def get_record(self, msg_id):
        """Get a specific Task Record, by msg_id."""
        cursor = self._db.execute("""SELECT * FROM %s WHERE msg_id==?"""%self.table, (msg_id,))
        line = cursor.fetchone()
        if line is None:
            raise KeyError("No such msg: %r"%msg_id)
        return self._list_to_dict(line)
def get_record(self, msg_id):
        """Get a specific Task Record, by msg_id."""
        cursor = self._db.execute("""SELECT * FROM %s WHERE msg_id==?"""%self.table, (msg_id,))
        line = cursor.fetchone()
        if line is None:
            raise KeyError("No such msg: %r"%msg_id)
        return self._list_to_dict(line)
def get_record ( self , msg_id ) : cursor = self . _db . execute ( """SELECT * FROM %s WHERE msg_id==?""" % self . table , ( msg_id , ) ) line = cursor . fetchone ( ) if line is None : raise KeyError ( "No such msg: %r" % msg_id ) return self . _list_to_dict ( line )
Get a specific Task Record, by msg_id.
Get a specific Task Record by msg_id .