update: remove workspace operation table and refactor
This commit is contained in:
@@ -192,9 +192,11 @@ async def start_workspace(ws_id: str) -> dict:
|
||||
|
||||
port = get_free_port()
|
||||
token = secrets.token_urlsafe(16)
|
||||
logger.debug(f"starting workspace {ws_id} with token {token}")
|
||||
base_path = f"/jupyter/{ws_id}/"
|
||||
|
||||
cmd = [
|
||||
"uvx",
|
||||
"jupyter",
|
||||
"notebook",
|
||||
f"--port={port}",
|
||||
|
||||
Reference in New Issue
Block a user