Skip to content

Remove parameters from notebook output #706

@1oglop1

Description

@1oglop1

🚀 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):

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @1oglop1

      Issue actions

        Remove parameters from notebook output · Issue #706 · nteract/papermill