Skip to content

Commit

Permalink
remove deprecated jupyter browser api call
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Feb 27, 2024
1 parent 578dd5e commit 9ae560a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/packages/project/browser-websocket/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ async function handleApiCall(data: Mesg, spark): Promise<any> {
case "prettier_string": // deprecated
case "formatter_string":
return await run_formatter_string(data.path, data.str, data.options, log);
case "jupyter":
// DEPRECATED: The "jupyter" endpoint is only here for browser client
// backward compatibility. Can be safely deleted soon, but not immediately
// to make the release easier
return await jupyter(data.path, data.endpoint, data.query);
case "exec":
if (data.opts?.compute_server_id) {
if (data.opts.filesystem) {
Expand Down Expand Up @@ -222,8 +217,6 @@ async function listing(
}
}

import { handleApiRequest as jupyter } from "@cocalc/jupyter/kernel/websocket-api";

// Execute code
import { executeCode } from "@cocalc/backend/execute-code";

Expand Down

0 comments on commit 9ae560a

Please sign in to comment.