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

Allow some notebook cells to run before auto-injected preamble #1184

Open
ilia-db opened this issue Apr 10, 2024 · 0 comments
Open

Allow some notebook cells to run before auto-injected preamble #1184

ilia-db opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ilia-db
Copy link
Contributor

ilia-db commented Apr 10, 2024

Currently we inject special code into notebooks before we execute them as workflows.

If some later cell execution leads to a kernel restart, then our injected code is no longer takes effect.

We already support %pip commands (that lead to kernel restarts) in any cell by executing them before our injected code (more info in this isue and this PR)

Here we want to execute a full cell before our preamble.

@ilia-db ilia-db added the enhancement New feature or request label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant