Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Notebook_Processor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maurice Herné
Notebook_Processor
Commits
f3ffe41d
Commit
f3ffe41d
authored
8 months ago
by
Maurice Herné
Browse files
Options
Downloads
Patches
Plain Diff
Fix: attachments = None leads to Jupyter no longer being able to load the notebook
parent
02b691f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Notebook_Processor/notebook_models/notebook_cell_model.py
+2
-2
2 additions, 2 deletions
...Notebook_Processor/notebook_models/notebook_cell_model.py
with
2 additions
and
2 deletions
src/Notebook_Processor/notebook_models/notebook_cell_model.py
+
2
−
2
View file @
f3ffe41d
...
...
@@ -85,7 +85,7 @@ class NotebookMarkdownCellModel(BaseNotebookCellModel):
"
Notebook markdown cell.
"
"""
cell_type
:
Literal
[
"
markdown
"
]
attachments
:
Optional
[
dict
]
=
Field
(
default
=
None
,
description
=
"
Media attachments (e.g. inline images), stored as mimebundle keyed by filename.
"
)
attachments
:
dict
=
Field
(
default
=
{}
,
description
=
"
Media attachments (e.g. inline images), stored as mimebundle keyed by filename.
"
)
class
NotebookCodeCellModel
(
BaseNotebookCellModel
):
...
...
@@ -102,7 +102,7 @@ class NotebookRawCellModel(BaseNotebookCellModel):
"
Notebook raw nbconvert cell.
"
"""
cell_type
:
Literal
[
"
raw
"
]
attachments
:
Optional
[
dict
]
=
Field
(
default
=
None
,
description
=
"
Media attachments (e.g. inline images), stored as mimebundle keyed by filename.
"
)
attachments
:
dict
=
Field
(
default
=
{}
,
description
=
"
Media attachments (e.g. inline images), stored as mimebundle keyed by filename.
"
)
NotebookCellAnnotation
=
Annotated
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment