From eb2693c1d7825554e8dc93913228baf01be6e26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 20 Jul 2015 18:54:30 +0200 Subject: [PATCH] [IMP] add note field in parserlib --- bank_statement_parse/parserlib.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bank_statement_parse/parserlib.py b/bank_statement_parse/parserlib.py index eeee36b..49bb0e7 100644 --- a/bank_statement_parse/parserlib.py +++ b/bank_statement_parse/parserlib.py @@ -98,6 +98,14 @@ class BankTransaction(dict): """property setter""" self['account_number'] = remote_account + @property + def note(self): + return self['note'] + + @note.setter + def note(self, note): + self['note'] = note + def __init__(self): """Define and initialize attributes.