Skip to content

Parameterized notebooks (similar to papermill)

Created by: mike-r-mclaughlin

Feature request description

The use-case i've thought out most here is being able to share a notebook with our front-line support colleagues who often get localized error messages shared with them from customers. I want to be able to come up with specific queries, and allow other users to leverage them without parsing through the contents and modifying the parameters i expect to be static.

  1. Notebook parameter (localized error message) {param0}
  2. Run search query file:.*labels.* {param0}
  3. Markdown to instruct user to extract info from result of query Results generally look something like this: <param name="{param1}">{param0}<param>
  4. Enter extracted{param1}
  5. Run search query -file:.*labels.* -file:.*test.* (lang:Java or lang:JavaScript) {param1}

From @benvenker image

Additional context

Similar to papermill for Jupyter notebooks

Requested by: https://github.com/sourcegraph/accounts/issues/6716 via Slack

/cc @benvenker @lguychard