...
existing_entries: An optional list of existing directives loaded from
the ledger which is intended to contain the extracted entries. This
is only provided if the user provides them via a flag in the
extractor program.
smart_importer's hooks pass existing_entries to extract() and the DKB
importer fails because it doesn't recognize this optional argument.
beancount/ingest/importer.py defines extract() as:
... existing_entries: An optional list of existing directives loaded from the ledger which is intended to contain the extracted entries. This is only provided if the user provides them via a flag in the extractor program.
smart_importer's hooks pass existing_entries to extract() and the DKB importer fails because it doesn't recognize this optional argument.