Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify the function signature for preprocess() #1042

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

afeld
Copy link
Contributor

@afeld afeld commented May 30, 2019

Small change: When executing notebooks using the Python API interface, I noticed that providing the resources to preprocess() is required, even if the user doesn't intend for anything to be overridden. This change makes that argument optional.

Thanks!

When [executing notebooks using the Python API interface](https://nbconvert.readthedocs.io/en/latest/execute_api.html#executing-notebooks-using-the-python-api-interface), I noticed that providing the `resources` to `preprocess()` is required, even if the user doesn't intend for anything to be overridden. This change makes that argument optional.
@MSeal MSeal requested a review from mpacer May 30, 2019 22:01
@MSeal
Copy link
Contributor

MSeal commented May 30, 2019

That's a handy change. Asking for @mpacer to take a look to make sure there wouldn't be any unintended consequences that I am not thinking of.

@MSeal
Copy link
Contributor

MSeal commented May 30, 2019

Also there's a test issue in master atm we'll get fixed so the builds start passing again.

@MSeal MSeal merged commit 76c9e5a into jupyter:master Jun 3, 2019
@afeld afeld deleted the patch-1 branch June 3, 2019 18:36
@afeld afeld restored the patch-1 branch June 3, 2019 18:36
@jaladh-singhal
Copy link

@MSeal This appears in nbconvert latest docs but not in version 5.5.0 (i.e. latest one when downloading nbconvert locally) - I wonder why?

I need to use it. Thanks!

@MSeal
Copy link
Contributor

MSeal commented Jun 19, 2019

@jaladh-singhal 5.6.0 release will include this change. You can track the release progress here: #1052

@jaladh-singhal
Copy link

OK, thanks:+1:

@MSeal MSeal added this to the 5.6 milestone Jul 30, 2019
@meeseeksmachine
Copy link

This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there:

https://discourse.jupyter.org/t/nbconvert-5-6-0-release/1867/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants