Notebook metadata being initialised in wrong place
See original GitHub issueBug: Notebook Editor, Interactive Window, Editor cells
First noted in jupyter/jupyter-sphinx#108
Creating a new notebook with:
Name: Python
Id: ms-python.python
Description: Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, snippets, and more.
Version: 2020.2.64397
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python
leads to:
{
"nbformat": 4,
"nbformat_minor": 2,
"metadata": {
"language_info": {
"name": "python",
"codemirror_mode": {
"name": "ipython",
"version": 3
}
},
"orig_nbformat": 2,
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"npconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": 3
},
"cells": []
}
This is incorrect, because all the metadata should actually be under the language_info
key:
{
"nbformat": 4,
"nbformat_minor": 2,
"metadata": {
"language_info": {
"name": "python",
"codemirror_mode": {
"name": "ipython",
"version": 3,
},
"orig_nbformat": 2,
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"npconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": 3
},
},
"cells": []
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Notebook metadata being initialised in wrong place #2176
Bug: Notebook Editor, Interactive Window, Editor cells First noted in jupyter/jupyter-sphinx#108 Creating a new notebook with: Name: Python ...
Read more >End-To-End Walkthrough - nbdev - Fast.ai
Your notebooks are cleaned of unwanted metadata (which pollute pull requests and git histories and lead to merge conflicts); Your notebook tests all...
Read more >How do I set up Jupyter/IPython Notebook for Django?
To fix these problems so that we're able to create a Notebook running inside any Django project we have so configured and to...
Read more >Configure schema inference and evolution in Auto Loader
You can configure Auto Loader to automatically detect the schema of loaded data, allowing you to initialize tables without explicitly declaring ...
Read more >Automatic Invalidation/Refresh of Metadata | CDP Private Cloud
In this release, you can invalidate or refresh metadata automatically after changes to databases, tables or partitions render metadata stale.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please could you file a separate issue for that.Thanks. & I agree it will help with diffing…
Thanks for filing this issue. I can confirm this is a bug at our end.