https://prefect.io logo
Title
f

Francis Ho

06/03/2022, 3:54 PM
Hello, I am using Jupyter task (https://docs.prefect.io/api/latest/tasks/jupyter.html#executenotebook) to execute notebook to generate HTML outputs in my flow, was wondering if there's a way to pass in
allow-errors
equivalent of jupyter-nbconvert (https://nbconvert.readthedocs.io/en/latest/config_options.html)
k

Kevin Kho

06/03/2022, 4:00 PM
Looks like we don’t allow for it because you need to do:
pm.execute_notebook(..., allow_errors=True)
but we have stuff hardcoded without kwargs. You can copy this code and edit it to support your use case
Allow errors suggestion from here
f

Francis Ho

06/03/2022, 4:04 PM
thanks, will try