Skip to content

Commit

Permalink
fix: #109: raise notimplemented for get_transactions()
Browse files Browse the repository at this point in the history
  • Loading branch information
redstreet committed Nov 17, 2024
1 parent 07d972d commit 3cab851
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions beancount_reds_importers/libreader/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
)

0 comments on commit 3cab851

Please sign in to comment.