Skip to content

Commit

Permalink
Pass keyword args to super constructor in (deprecated) importers.csv.…
Browse files Browse the repository at this point in the history
…Importer
  • Loading branch information
Jeremy Silver committed Dec 28, 2024
1 parent 772dab2 commit 255dc43
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion beangulp/importers/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,20 @@ def __init__(self, config, account, currency,

kwds.update(prepare_for_identifier(regexps, kwds.get('matchers')))
kwds.update(prepare_for_filing(account, kwds.get('prefix', None), institution))
super().__init__(config, account, currency, **kwds)
super().__init__(config, account, currency,
regexps=regexps,
skip_lines=skip_lines,
last4_map=last4_map,
categorizer=categorizer,
institution=institution,
debug=debug,
csv_dialect=csv_dialect,
dateutil_kwds=dateutil_kwds,
narration_sep=narration_sep,
encoding=encoding,
invert_sign=invert_sign,
**kwds
)

def extract(self, file, existing_entries=None):
account = self.file_account(file)
Expand Down

0 comments on commit 255dc43

Please # to comment.