nteract/papermill

Remove parameters from notebook output

Open

#706 geöffnet am 22. Nov. 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (402 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (5.381 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

🚀 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 https://github.com/nteract/papermill/blob/54f6c038cdae0c70d5fb04691fa465e12aeb62cb/papermill/execute.py#L136

Contributor Guide