def get_txs(self): txs = Transactions() for field in self.section_names: field = field.lower() if field in self: txs.extend(self[field]) return txs