-
Notifications
You must be signed in to change notification settings - Fork 65
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
Error accessing notebook.metadata.language_info.file_extension
#108
Comments
Wait a minute, looking at this again, I guess this is a bug in the VS Code extension, that it is adding data to |
Thanks for reporting! It shouldn't be Nevermind, seems like a bug in VS Code extension. |
yeh doh, raising an issue on there now |
I have confirmed, as per jupyter client kernel API, that |
stupid VS Code lol |
Copied from executablebooks/MyST-NB#63
jupyter-sphinx
expects the presence ofnotebook.metadata.language_info.file_extension
here:jupyter-sphinx/jupyter_sphinx/execute.py
Line 259 in 970097e
However, it appears that this is not actual a necessary attribute of the notebook metadata, as exampled by the working notebook below:
Note, the notebook was initially created by VS Code:
perhaps just have
notebook.metadata.language_info.get("file_extension", ".py")
The text was updated successfully, but these errors were encountered: