Additional information: Here is my __init__

class AmexCCImporter(importer.ImporterProtocol):
    def __init__(self, account, lastfour):
        self.account = account
        self.lastfour = lastfour
The account does come through in the transaction narrative that is 
generated. However, it's not picked up by the file.py routine.
On Wednesday, November 10, 2021 at 2:44:46 PM UTC-5 tbra...@gmail.com wrote:

> Hi,
> I've previously relied very heavily on *red's importers* for my import 
> and filing needs. They worked great up to the point when my Amex switched 
> over from ofx to csv's -- the only options for statement/transaction 
> downloads are excel, csv, and pdf. 
>
> I think I have a working importer for the new Amex csv's, but when I 
> attempt to archive via bean-file, I receive the error:
> ERROR:root:No account provided by importers: <<object.class of my 
> importer>>
>
> I think I'm missing a "return account" statement or similar but can't 
> quite figure it out from the docs or red's other importers. I'm sure it's 
> there but can't identify it.
>
> Thanks for reading (and I hope answering),
> Tim
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/847890b4-3e1d-42e8-9f4b-1343b666c3ben%40googlegroups.com.

Reply via email to