Skip to content

Commit 3744d45

Browse files
authored
Backport PR #161: Trust the default cell (#163)
1 parent b2645eb commit 3744d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyter_ydoc/ydoc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ def set(self, value):
176176
{
177177
"cell_type": "code",
178178
"execution_count": None,
179-
"metadata": {},
179+
# auto-created empty code cell without outputs ought be trusted
180+
"metadata": {"trusted": True},
180181
"outputs": [],
181182
"source": "",
182183
"id": str(uuid4()),

0 commit comments

Comments
 (0)