dataset: False in custom recipe


Per this thread we are doing database updates explicitly in the update callback and returning "dataset": False from the recipe. This is working with prodigy 1.10.7, but on a fresh install today with 1.11.2 it appears the update callback is never triggered. This line in the changelog seems relevant:

Fix handling of False as dataset value returned by recipe.

But maybe the problem was introduced somewhere else between 1.10.7 and 1.11.2.
Is this intended and is there a different/better way to achieve the behaviour we want (ability to trigger some action after examples are saved to the database)?

Thanks! Looks like this was indeed a mistake introduced when making various improvements to the stream handling in v1.11 :sweat_smile: Will fix this for the next release.

In the meantime, one workaround could be to set your "db" to the string ":memory", which will use an SQLite database in memory only. It's not exactly the same, but close.

Great, thanks Ines!