soonq/broker.py
def remove_work(self, item):
        """Remove the given item from the work table."""
        con = sqlite3.connect(str(DB_PATH))
        with con:
            con.execute(
                f"""
                DELETE FROM {WORK_TABLENAME}
                WHERE task_id = ?
                """,
                (item.task_id,),
            )
        con.close()
Remove the given item from the work table.
Remove the given item from the work table.
Remove the given item from the work table .
def remove_work(self, item):
        con = sqlite3.connect(str(DB_PATH))
        with con:
            con.execute(
                f"""
                DELETE FROM {WORK_TABLENAME}
                WHERE task_id = ?
                """,
                (item.task_id,),
            )
        con.close()
def remove_work ( self , item ) : con = sqlite3 . connect ( str ( DB_PATH ) ) with con : con . execute ( f"""
                DELETE FROM {WORK_TABLENAME}
                WHERE task_id = ?
                """ , ( item . task_id , ) , ) con . close ( )
Remove the given item from the work table.
Remove the given item from the work table .
"""Remove the given item from the work table."""
self
item