These are chat archives for ipython/ipython
ipython nbconvert failing_notebook.ipynb --ExecutePreprocessor.enabled=True --to=notebook output.ipynband then the result would be output.ipynb with the output filled in as if you had run the notebook, but it would exit non-zero so you could tell the command had failed.
timeoutin that file is an example of how to add a configurable attribute
so just copy around the simplest:
def skipif(condition, msg): def dec(f): def wrapped(*a, **kw): if condition: raise SkipTest(msg) return f(*a, **kw) return dec
Here's where the component first gets instantiated:
and here's where it's updated in-place: