question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow notebook-output to be marked as transient per instance

See original GitHub issue

As an extension author, I want to be able to set transientOutputs on a per-notebook document basis.

For example, say I invent some notebook format that provides a way to store per-document configuration values. One of those values controls whether or not outputs are persisted. In this scenario, some notebooks should have transientOutputs: true and others transientOutputs: false. To reflect this properly, I want to be able to set NotebookDocumentContentOptions on a per-notebook basis, probably in the content provider.

As for why that would be useful: If I am committing notebooks to a repository, I most likely do not want to persist outputs, especially if they are dependent on time/machine/location/etc (i.e. if they are liable to change). However, if I have a notebook outside of source control (that I’m using for tests/experiments/etc), I likely want outputs to persist.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Apr 6, 2021

I too have a similar requirement for kusto notebooks.

When looking at some telemetry i’d like to save the graphs & the output E.g. a pie chart that represents how many failures we had. this information doesn’t contain any PII.

I’d like to keep this information for historical purposes. so when i run this again next week as a new cell, i can compare it against the previous week (another cell).

The only way I can think of doing this is;

  • Create cell A and run it, save output
  • next week, create cell B with same code as cell A, run it
  • now compare output of A & B

Original issue https://github.com/DonJayamanne/vscode-kusto/issues/23

1reaction
jriekencommented, Apr 6, 2021

Yeah, I was having similar thoughts when persisting output for GitHub issue notebooks. Tho, for that it would have been per output/metadata value. E.g when a cell contains @me I don’t want to save its output and that fact is very dynamic (changes after providing NotebookData)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transient in Java | What, Why and How it works - Edureka
Transient in Java is used to mark the member variable not to be serialized when it is persisted to streams of bytes.
Read more >
The transient Keyword in Java - Baeldung
When we mark any variable as transient, then that variable is not serialized. Since transient fields aren't present in the serialized form ...
Read more >
Linear Mixed Effect Modelling with TensorFlow Probability
In this example, linear mixed effect modelling is used to analyse the ... indicates whether the customer is Contract, Group, or Transient.
Read more >
JupyterLab Changelog — JupyterLab 3.6.0b0 documentation
Update example documentation: lab -> app #13223 (@davidbrochart) ... Allow bot PRs to be automatically labeled #12509 (@blink1073) ...
Read more >
All articles - Databricks Knowledge Base
This allows you to start a cluster with a specific AWS instance profile. ... Databricks launches one Apache Spark executor instance per worker...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found