Digging through the source code for beancount / beancount / ingest / 
importer.py [1]I came across the following:

```
class ImporterProtocol: <>    "Interface that all source importers need to 
comply with." <> <>    # A flag to use on new transaction. Override this flag 
in derived classes if <>    # you prefer to create your imported transactions 
with a different flag. <>    FLAG = flags.FLAG_OKAY
```

But I am not sure where to change that? I have tried to plug it in to various 
places in myledger.config file to pass it to the generic CSV importer but I 
can't seem to get it to work. FWIW, I did also make sure to put the following 
further up in the file:

```
from beancount.core import flags
```

Sorry, but my Python skills are still such that I cannot get my brain around 
all the scope, class, etc. type stuff and you have a lot of things going 
through other things in the code that I just can't follow.

TRS-80

NOTE 1: (big ugly link) 
https://bitbucket.org/blais/beancount/src/f2e603bd3027f9bcca10f8856bee418bc41abcb3/beancount/ingest/importer.py?at=default&fileviewer=file-view-default
 
<https://bitbucket.org/blais/beancount/src/f2e603bd3027f9bcca10f8856bee418bc41abcb3/beancount/ingest/importer.py?at=default&fileviewer=file-view-default>
--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com <https://tutanota.com>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/LJ5yrcZ--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to