humann/store.py
def do(self, *args):
        """
        Run a stateful statement like add or delete
        If within a transaction, commit and reopen every 100k operations
        """
        self.__conn.execute(*args)
        if self.__is_within_transaction:
            self.__stateful_ops_since_commit +=1
            if self.__stateful_ops_since_commit % 100000 == 0:
                self.__conn.execute("commit transaction")
                self.__conn.execute("begin transaction")

        Run a stateful statement like add or delete
        If within a transaction, commit and reopen every 100k operations
        
Run a stateful statement like add or delete
If within a transaction, commit and reopen every 100k operations
Run a stateful statement like add or delete If within a transaction commit and reopen every 100k operations
def do(self, *args):
        self.__conn.execute(*args)
        if self.__is_within_transaction:
            self.__stateful_ops_since_commit +=1
            if self.__stateful_ops_since_commit % 100000 == 0:
                self.__conn.execute("commit transaction")
                self.__conn.execute("begin transaction")
def do ( self , * args ) : self . __conn . execute ( * args ) if self . __is_within_transaction : self . __stateful_ops_since_commit += 1 if self . __stateful_ops_since_commit % 100000 == 0 : self . __conn . execute ( "commit transaction" ) self . __conn . execute ( "begin transaction" )
Run a stateful statement like add or delete
If within a transaction, commit and reopen every 100k operations
Run a stateful statement like add or delete If within a transaction commit and reopen every 100k operations
"""
        Run a stateful statement like add or delete
        If within a transaction, commit and reopen every 100k operations
        """
self