environment/lib/python2.7/site-packages/IPython/parallel/controller/sqlitedb.py
def add_record(self, msg_id, rec):
        """Add a new Task Record, by msg_id."""
        d = self._defaults()
        d.update(rec)
        d['msg_id'] = msg_id
        line = self._dict_to_list(d)
        tups = '(%s)'%(','.join(['?']*len(line)))
        self._db.execute("INSERT INTO %s VALUES %s"%(self.table, tups), line)
def add_record(self, msg_id, rec):
        """Add a new Task Record, by msg_id."""
        d = self._defaults()
        d.update(rec)
        d['msg_id'] = msg_id
        line = self._dict_to_list(d)
        tups = '(%s)'%(','.join(['?']*len(line)))
        self._db.execute("INSERT INTO %s VALUES %s"%(self.table, tups), line)
def add_record ( self , msg_id , rec ) : d = self . _defaults ( ) d . update ( rec ) d [ 'msg_id' ] = msg_id line = self . _dict_to_list ( d ) tups = '(%s)' % ( ',' . join ( [ '?' ] * len ( line ) ) ) self . _db . execute ( "INSERT INTO %s VALUES %s" % ( self . table , tups ) , line )
Add a new Task Record, by msg_id.
Add a new Task Record by msg_id .