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

Catch AttributeErrors thrown by ipython_genutils during conversion as ValidationErrors #240

Merged
merged 4 commits into from
Dec 17, 2021

Conversation

therzka
Copy link
Contributor

@therzka therzka commented Dec 2, 2021

This change allows an error to be thrown and more context to be provided at the time of conversion if a notebook is malformed but isn't caught by validation at read time instead of a generic KeyError

@therzka therzka changed the title Catch AttributeErrors thrown by ipython_genutils during reading and conversion as ValidationErrors Catch AttributeErrors thrown by ipython_genutils during conversion as ValidationErrors Dec 4, 2021
@therzka therzka marked this pull request as ready for review December 4, 2021 00:49
nbformat/converter.py Show resolved Hide resolved
@MSeal
Copy link
Contributor

MSeal commented Dec 17, 2021

Thanks for adding improvements to the repo. I'm going to merge we need to drop 3.5 anyway

@MSeal MSeal merged commit 6be91cc into jupyter:master Dec 17, 2021
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.

3 participants