I create a Database object as described in the documentation to use a PostgreSQL database in a custom recipe, and I pass it in as the db
component in the returned dict. This worked fine in Prodigy 1.8.4 but in 1.9.0 I'm getting the following error:
✘ Invalid components returned by recipe 'clinex.textcat.teach'
db <prodigy.components.db.Database object at 0x1251ae2b0> is not callable
db value could not be parsed to a boolean
How do I get this to work again in the new Prodigy version?