-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Towards making smart-importer and beancount-import more cooperative. #60
base: master
Are you sure you want to change the base?
Conversation
031c7db
to
8f8fcd9
Compare
Thanks for working on this! It looks like you are on the right track. When you have something working, can you add a test? |
smart-importer wraps the We will just need to write a generic |
@dumbPy, I had a look at the code in #62 and I think I'm missing the logic of how it fits in with the program of moving the prediction to smart_importer and using beancount-import for the UI. Are the extra meta fields indicating a tentative account meant to be inserted by something upstream of the Source defined in #62? |
The |
I suppose the |
That makes sense. Thanks for the explanation. I'll try weaving it into the code. |
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
c1b8eb1
to
5d706ee
Compare
beancount-import will now look for new_account and unconfirmed_account meta fields in each posting, and understand their presence to mean that the account names of these postings are tentative, potentially new. Introduced two new methods similar to those present in training.py and new logic.
5d706ee
to
f3208ef
Compare
If a posting was predicted by smart_importer or was entered by hand, it should be editable. This was suggested and discussed in jbms#60
Introduced two new methods similar to those present in training.py and new logic.
beancount-import will now look for
new_account
andunconfirmed_account
meta fields in each posting, and understand their presence to mean that the account names of these postings are tentative, potentially new. It will then work in a passthrough mode, offering them for import/modifications.I don't expect this to actually be merged, but rather to serve as a first draft implementation of the proposal from #23.