Skip to content

fix(serialization): support new QNR anonymous notebook module#26

Merged
MichaelHatherly merged 1 commit intomainfrom
mh/fix-deserialize-module-compat
Mar 17, 2026
Merged

fix(serialization): support new QNR anonymous notebook module#26
MichaelHatherly merged 1 commit intomainfrom
mh/fix-deserialize-module-compat

Conversation

@MichaelHatherly
Copy link
Copy Markdown
Collaborator

deserialize_module hardcoded Main.Notebook which crashes on new
QNR where the notebook module is anonymous via Module(:Notebook).
Add _notebook_module() with dispatch-based override in the
Requires.@require block (matching _caching_options pattern) to
try NotebookState.notebook_module() first, fall back to
Main.Notebook, then Main.

`deserialize_module` hardcoded `Main.Notebook` which crashes on new
QNR where the notebook module is anonymous via `Module(:Notebook)`.
Add `_notebook_module()` with dispatch-based override in the
`Requires.@require` block (matching `_caching_options` pattern) to
try `NotebookState.notebook_module()` first, fall back to
`Main.Notebook`, then `Main`.
@MichaelHatherly MichaelHatherly merged commit 7a55361 into main Mar 17, 2026
10 checks passed
@MichaelHatherly MichaelHatherly deleted the mh/fix-deserialize-module-compat branch March 17, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant