mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[PyCharm] PY-74366 Jupyter/RemoteDev (fix): Fixed outputs update on startup and cell run.
GitOrigin-RevId: 98119e2cf33fd001d908d93a487452d183b01307
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f375ed2eb2
commit
6f048c8880
@@ -162,7 +162,8 @@ class EditorCell(
|
|||||||
CELL_EXTENSION_CONTAINER_KEY.get(this)?.values?.forEach { action(it) }
|
CELL_EXTENSION_CONTAINER_KEY.get(this)?.values?.forEach { action(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateOutputs(keys: List<NotebookOutputDataKey>) {
|
/** Called only in RD mode with a ready list of NotebookOutputDataKey, to avoid reading data from JSON which is missing on the frontend. */
|
||||||
|
fun updateOutputs(keys: List<NotebookOutputDataKey>): Unit = editor.updateManager.update {
|
||||||
outputs.outputs.set(keys.map { EditorCellOutput(it) })
|
outputs.outputs.set(keys.map { EditorCellOutput(it) })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user