update: jupyter api payload, wire os.environ
This commit is contained in:
@@ -162,7 +162,7 @@ class RuntimeClient:
|
||||
logger.debug(ws)
|
||||
body = {
|
||||
"type": "notebook",
|
||||
"name": name,
|
||||
"path": name,
|
||||
"content": {
|
||||
"cells": cells if cells is not None else [],
|
||||
"metadata": {},
|
||||
@@ -199,7 +199,7 @@ class RuntimeClient:
|
||||
ws = await self._ensure_workspace(workspace_id)
|
||||
body = {
|
||||
"type": "file",
|
||||
"name": name,
|
||||
"path": name,
|
||||
"content": content,
|
||||
"format": "text",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user