From 3cab8517b1471cd90dda8d8511226d43c07eb15b Mon Sep 17 00:00:00 2001 From: Red S Date: Sat, 16 Nov 2024 16:02:16 -0800 Subject: [PATCH] fix: #109: raise notimplemented for get_transactions() --- beancount_reds_importers/libreader/reader.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/beancount_reds_importers/libreader/reader.py b/beancount_reds_importers/libreader/reader.py index 98ef183..9d55dc6 100644 --- a/beancount_reds_importers/libreader/reader.py +++ b/beancount_reds_importers/libreader/reader.py @@ -64,3 +64,8 @@ def get_balance_assertion_date(self): def get_available_cash(self, settlement_fund_balance=0): return None + + def get_transactions(self): + raise NotImplementedError( + "get_transactions() must be implemented by a subclass (usually the reader, but sometimes the importer)." + )