Skip to content

Commit d0bccd6

Browse files
committed
changes to run code in kernel
1 parent 54fb755 commit d0bccd6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/client/jupyter/jupyter_client/contracts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ export interface IJupyterClient {
66
shutdownkernel(kernelUUID: string): Promise<any>;
77
interruptKernel(kernelUUID: string): Promise<any>;
88
restartKernel(kernelUUID: string): Promise<any>;
9+
runCode(code: string): Promise<any>;
910
}
1011

1112
export enum KernelCommand {
12-
shutdown,restart,interrupt
13+
shutdown, restart, interrupt
1314
}

0 commit comments

Comments
 (0)