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

Remove parameters from notebook output #706

Open
1oglop1 opened this issue Nov 22, 2022 · 0 comments · May be fixed by #817
Open

Remove parameters from notebook output #706

1oglop1 opened this issue Nov 22, 2022 · 0 comments · May be fixed by #817

Comments

@1oglop1
Copy link

1oglop1 commented Nov 22, 2022

🚀 Feature

It would be nice to be able to remove parameters from the outputted notebook

Motivation

I have several parameters which need secrets e.g. API keys, passwords, etc
All my parameters come from static places like SecretsManager or Env or Config file

From what I understand I'd have to modify papermill.execute to make another transformation which removes parameters cell, correct?

similar to this

def prepare_notebook_metadata(nb, input_path, output_path, report_mode=False):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant