-
Notifications
You must be signed in to change notification settings - Fork 96
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
custom blacklist metadata fields #92
Conversation
Python 3 tests are failing now, however I can't quite see how that's related to your changes. |
This is a much needed feature, thanks for jumping on this: With Papermill gaining in popularity it is great to be able to strip out Papermill related metadata |
This reverts commit a8efb57.
Thanks for your contribution! |
Is it possible to filter the key |
@amard33p yes, should be. Is this a per-cell key? A "global" key? |
Not sure about that...but you can see it in the diff here: #110 (comment) |
Turns out |
Custom blacklist metadata fields
Complements #86
metadata
cell.metadata
metadata
(e.g.metadata.toc
)cell.metadata
(e.g.cell.metadata.heading_collapsed
metadata.kernel_spec
metadata.language_info
metadata.kernel_spec.display_name
metadata.kernel_spec.name
metadata.language_info.codemirror_mode.version
metadata.language_info.pygments_lexer
metadata.language_info.version
metadata
fields?This is configurable via
git config (--global) filter.nbstripout.extrakeys
. An example would be: