Hi, let's say I have a custom_recipe.py file, in which I have this recipe:
@prodigy.recipe(*decorator_args) def textcat_custom_model(*args): # do stuff
Is it possible to call this recipe from Python (instead of command line)?
By calling from python, I mean as textcat_custom_model(*args), i.e. excluding operations equivalent to command line such as subprocess.run() or Jupyter magic.
The main reason I would like such usage is so that I can pass Python objects (dynamically generated callables, for instance) as arguments of the recipe.