-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
Currently outputs are not typed. This makes it hard to track changes in public API or to work with this package in general.
Previously at least the changes were typed as nbformat.IOutput
but this changed in #241 and now they are just Map<any>
:
jupyter_ydoc/javascript/src/api.ts
Lines 746 to 748 in 546a994
* Cell output changes | |
*/ | |
outputsChange?: Delta<Y.Map<any>>; |
On the Python side the schema defines them as just an array, without a type:
jupyter_ydoc/jupyter_ydoc/ynotebook.py
Lines 35 to 46 in 546a994
"cells": YArray[ | |
YMap[ | |
"id": str, | |
"cell_type": str, | |
"source": YText, | |
"metadata": YMap, | |
"execution_state": str, | |
"execution_count": Int | None, | |
"outputs": [] | None, | |
"attachments": {} | None | |
] | |
] |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request