Vscode-jupyter: Add support for parameters and/or tags assignment (papermill) (Add support for cell metadata)

Created on 4 Nov 2019  路  5Comments  路  Source: microsoft/vscode-jupyter

Feature: Notebook Editor, Interactive Window, Python Editor cells

Add ability to set metadata tags on a cell, like notebook classic supports in the gif below (but maybe with a better interface for it).

enable_parameters

Description

Cell tags are used as a convention based pattern for converting notebooks in a few contexts. The papermill library uses the parameters and injected-parameters tags to manage user inputs to notebook executions. NBConvert has notebook manipulation processors that filter or convert cells based on tags. Overall while it was originally used for metadata matching purposes, it's use for production execution paths has become a necessity with Jupyter today. Have a minimal way to manage the cell tags would go a long way for cross-tooling support.

Epic

Most helpful comment

I want to second this. I am very happy with VSCode as my primary Python editor but when looking for a way to parameterize my notebook via _papermill_ I ran into the above issue of not being able to set parameters.

All 5 comments

Thanks for letting us know!
We'll look into it.

I want to second this. I am very happy with VSCode as my primary Python editor but when looking for a way to parameterize my notebook via _papermill_ I ran into the above issue of not being able to set parameters.

Any possible work around the missing tag options in VS Code?

+1
Any workarounds available?

+1
I work around this by opening the NB as JSON (separately, to the notebook editor) and manually add the tag in the JSON

Was this page helpful?
0 / 5 - 0 ratings