flowyml-notebook 2.0.5__tar.gz → 2.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. flowyml_notebook-2.0.7/.github/recovery/last_release_version.txt +1 -0
  2. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.gitignore +1 -0
  3. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/PKG-INFO +1 -1
  4. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/__init__.py +1 -1
  5. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/core.py +4 -3
  6. flowyml_notebook-2.0.7/flowyml_notebook/frontend/dist/assets/index-BSkxd-zf.js +3596 -0
  7. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/dist/index.html +1 -1
  8. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/package-lock.json +36 -25
  9. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/package.json +5 -1
  10. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/App.jsx +45 -41
  11. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/AnalysisPatternsPanel.jsx +6 -1
  12. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CellRecipes.jsx +4 -4
  13. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/PipelineDAG.jsx +2 -2
  14. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/hooks/useFlowyMLAvailability.js +7 -2
  15. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/hooks/useNotebook.js +195 -62
  16. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/kernel.py +3 -3
  17. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/reporting.py +2 -2
  18. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/server.py +39 -32
  19. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/pyproject.toml +1 -1
  20. flowyml_notebook-2.0.7/tuto.md +241 -0
  21. flowyml_notebook-2.0.5/.github/recovery/last_release_version.txt +0 -1
  22. flowyml_notebook-2.0.5/flowyml_notebook/frontend/dist/assets/index-RF1A-yma.js +0 -3596
  23. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/MANUAL_DOCS_PUBLISH.yml +0 -0
  24. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/MANUAL_PYPI_PUBLISH.yml +0 -0
  25. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/PRECOMMITS.yml +0 -0
  26. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/PR_PREVIEW.yml +0 -0
  27. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/RELEASE.yml +0 -0
  28. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.github/workflows/UTESTS.yml +0 -0
  29. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/.pre-commit-config.yaml +0 -0
  30. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/CHANGELOG.md +0 -0
  31. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/CODE_OF_CONDUCT.md +0 -0
  32. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/CONTRIBUTING.md +0 -0
  33. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/FlowyML E2E Demo.py +0 -0
  34. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/FlowyML E2E Demo_report.html +0 -0
  35. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/LICENSE +0 -0
  36. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/Makefile +0 -0
  37. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/README.md +0 -0
  38. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/SECURITY.md +0 -0
  39. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/linkedin_announcement.png +0 -0
  40. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/linkedin_post.md +0 -0
  41. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/logo.png +0 -0
  42. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/screenshot_dag.png +0 -0
  43. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/screenshot_editor.png +0 -0
  44. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/assets/screenshot_landing.png +0 -0
  45. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/api.md +0 -0
  46. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/architecture.md +0 -0
  47. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/assets/hero.png +0 -0
  48. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/assets/logo.png +0 -0
  49. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/collaboration.md +0 -0
  50. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/ecosystem.md +0 -0
  51. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/exploration.md +0 -0
  52. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/features.md +0 -0
  53. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/getting-started.md +0 -0
  54. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/index.md +0 -0
  55. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/integration.md +0 -0
  56. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/killer-features.md +0 -0
  57. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/macros.py +0 -0
  58. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/recipes.md +0 -0
  59. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/apps.png +0 -0
  60. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/assets.png +0 -0
  61. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/comments.png +0 -0
  62. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/dag.png +0 -0
  63. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/deploy.png +0 -0
  64. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/flowy-connection.png +0 -0
  65. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/github.png +0 -0
  66. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/notebook.png +0 -0
  67. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/pandas-display.png +0 -0
  68. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/pandas-display2.png +0 -0
  69. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/pangas-display3.png +0 -0
  70. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/pipelines.png +0 -0
  71. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/recipies.png +0 -0
  72. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/recommendations.png +0 -0
  73. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/reports.png +0 -0
  74. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/screenshots/snapshots.png +0 -0
  75. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/docs/stylesheets/extra.css +0 -0
  76. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ai/__init__.py +0 -0
  77. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ai/assistant.py +0 -0
  78. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/benchmark.py +0 -0
  79. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/cell_deps.py +0 -0
  80. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/cells.py +0 -0
  81. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/cli.py +0 -0
  82. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/code_analyzer.py +0 -0
  83. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/config.py +0 -0
  84. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/connection.py +0 -0
  85. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/data_validator.py +0 -0
  86. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/deployer.py +0 -0
  87. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/dev_server.py +0 -0
  88. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/diff.py +0 -0
  89. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/environment.py +0 -0
  90. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/execution_history.py +0 -0
  91. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/dist/assets/index-IxemCmoR.css +0 -0
  92. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/index.html +0 -0
  93. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/postcss.config.js +0 -0
  94. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/AIPanel.jsx +0 -0
  95. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/AppPublisher.jsx +0 -0
  96. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CellEditor.jsx +0 -0
  97. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CellList.jsx +0 -0
  98. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CellOutput.jsx +0 -0
  99. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/ChartRenderer.jsx +0 -0
  100. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CommandPalette.jsx +0 -0
  101. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/CommentsPanel.jsx +0 -0
  102. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/ConnectionConfig.jsx +0 -0
  103. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/DataFrameExplorer.jsx +0 -0
  104. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/FileUploader.jsx +0 -0
  105. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/FilesExplorer.jsx +0 -0
  106. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/FlowyMLPanel.jsx +0 -0
  107. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/InputWidgets.jsx +0 -0
  108. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/MarkdownRenderer.jsx +0 -0
  109. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/NotebookHeader.jsx +0 -0
  110. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/NotebookManager.jsx +0 -0
  111. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/OpenFileDialog.jsx +0 -0
  112. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/PipelineDAGViewer.jsx +0 -0
  113. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/PipelineWizard.jsx +0 -0
  114. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/ReportGenerator.jsx +0 -0
  115. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/SaveAsDialog.jsx +0 -0
  116. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/Sidebar.jsx +0 -0
  117. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/StatusBar.jsx +0 -0
  118. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/ToolsPanel.jsx +0 -0
  119. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/components/VersionHistory.jsx +0 -0
  120. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/data/flowymlSnippets.js +0 -0
  121. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/index.css +0 -0
  122. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/src/main.jsx +0 -0
  123. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/tailwind.config.js +0 -0
  124. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/frontend/vite.config.js +0 -0
  125. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/github_sync.py +0 -0
  126. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/__init__.py +0 -0
  127. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/builtin_recipes.py +0 -0
  128. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/ecosystem.py +0 -0
  129. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/kdp_adapter.py +0 -0
  130. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/kerasfactory_adapter.py +0 -0
  131. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/integrations/mlpotion_adapter.py +0 -0
  132. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ipynb_converter.py +0 -0
  133. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/lineage.py +0 -0
  134. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/magics.py +0 -0
  135. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/notebook_manager.py +0 -0
  136. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/package_installer.py +0 -0
  137. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/profiler.py +0 -0
  138. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/py.typed +0 -0
  139. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/reactive.py +0 -0
  140. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/recipes_store.py +0 -0
  141. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/scheduler_bridge.py +0 -0
  142. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/search.py +0 -0
  143. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/snippets.py +0 -0
  144. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/sql/__init__.py +0 -0
  145. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/sql/engine.py +0 -0
  146. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ui/__init__.py +0 -0
  147. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ui/app_mode.py +0 -0
  148. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/flowyml_notebook/ui/ml_widgets.py +0 -0
  149. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/fmln/__init__.py +0 -0
  150. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/mkdocs.yml +0 -0
  151. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/poetry.lock +0 -0
  152. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/__init__.py +0 -0
  153. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/run_tests.py +0 -0
  154. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_cells.py +0 -0
  155. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_core.py +0 -0
  156. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_github_sync.py +0 -0
  157. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_integrations.py +0 -0
  158. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_ipynb_converter.py +0 -0
  159. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_killer_features.py +0 -0
  160. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_new_killer_features.py +0 -0
  161. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_reactive.py +0 -0
  162. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_reactive_edge_cases.py +0 -0
  163. {flowyml_notebook-2.0.5 → flowyml_notebook-2.0.7}/tests/test_server_features.py +0 -0
@@ -58,3 +58,4 @@ coverage.xml
58
58
  .tox/
59
59
  .hypothesis/
60
60
  TODO.md
61
+ uv.lock
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowyml-notebook
3
- Version: 2.0.5
3
+ Version: 2.0.7
4
4
  Summary: Production-grade reactive notebook — the Jupyter replacement for ML pipelines. Works standalone or with FlowyML.
5
5
  Project-URL: Homepage, https://github.com/UnicoLab/flowyml-notebook
6
6
  Project-URL: Repository, https://github.com/UnicoLab/flowyml-notebook
@@ -28,7 +28,7 @@ Killer features:
28
28
  - Package Installer: in-notebook pip management
29
29
  """
30
30
 
31
- __version__ = "2.0.5"
31
+ __version__ = "2.0.7"
32
32
  __author__ = "UnicoLab"
33
33
 
34
34
 
@@ -254,7 +254,7 @@ class NotebookSession:
254
254
  images.append(f"data:image/png;base64,{img_data}")
255
255
  buf.close()
256
256
  plt.close("all")
257
- except (ImportError, Exception):
257
+ except Exception:
258
258
  pass
259
259
  return images
260
260
 
@@ -469,7 +469,7 @@ class NotebookSession:
469
469
  pass
470
470
 
471
471
  # Check for FlowyML asset types
472
- if hasattr(result, "__class__") and result.__class__.__module__.startswith("flowyml"):
472
+ if getattr(result.__class__, "__module__", None) and result.__class__.__module__.startswith("flowyml"):
473
473
  return CellOutput(
474
474
  output_type="asset",
475
475
  data=repr(result),
@@ -702,7 +702,8 @@ class Notebook:
702
702
 
703
703
  # Clear stale state for all successfully executed cells
704
704
  for rid in executed:
705
- self.graph.set_cell_state(rid, CellState.SUCCESS)
705
+ if self.graph.get_cell_state(rid) != CellState.ERROR:
706
+ self.graph.set_cell_state(rid, CellState.SUCCESS)
706
707
 
707
708
  return results
708
709