entries, _, __ = loader.load_file(filename) for entry in data.filter_txns(entries): if <condition>: continue printer.print_entry(entry)
On Thu, Apr 15, 2021 at 2:55 PM Daniele Nicolodi <dani...@grinta.net> wrote: > On 15/04/2021 20:27, Martin Blais wrote: > > I would just write a loop against the API. > > shorter and more powerful.; > > This does not look too bad already, but I have an hard time unpacking > you suggestion. To which API are you referring to? > > Cheers, > Dan > > -- > 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/b5dab48d-d8da-da62-4cb8-0a5d47102fe5%40grinta.net > . > -- 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/CAK21%2BhNpfDd2xfxPerKv1F1XX9b64_DfS2o4AWhDfvNevwc1%3Dw%40mail.gmail.com.