def list_transactions(): transactions = specter_df() return render_template("warden/transactions.html", title="Specter Transaction History", transactions=transactions, current_app=current_app)
def dismiss_notification(): # Run the df and clean the files (True) specter_df(delete_files=True) flash("Notification dismissed. New CheckPoint created.", "success") return json.dumps("Done")
def test_specter_txs(self): print("Testing Specter Transactions...") df = specter_df() print(df) self.assertIsInstance(df, pd.DataFrame) self.assertFalse(df.empty)