e2b-code-interpreter 0.0.6__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: e2b-code-interpreter
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: E2B Code Interpreter - Stateful code execution
5
5
  Home-page: https://e2b.dev/
6
6
  License: Apache-2.0
@@ -139,7 +139,7 @@ class JupyterExtension:
139
139
  :param timeout: Timeout for the kernel creation request.
140
140
  :return: Kernel id of the created kernel
141
141
  """
142
- data = {"cwd": cwd}
142
+ data = {"path": cwd}
143
143
  if kernel_name:
144
144
  data["kernel_name"] = kernel_name
145
145
  logger.debug(f"Creating kernel with data: {data}")
@@ -5,14 +5,13 @@ import time
5
5
  import uuid
6
6
  from concurrent.futures import Future
7
7
  from queue import Queue
8
- from typing import Callable, Dict, List, Any, Optional
8
+ from typing import Callable, Dict, Any, Optional
9
9
 
10
10
  from e2b import ProcessMessage
11
11
  from e2b.constants import TIMEOUT
12
12
  from e2b.sandbox import TimeoutException
13
13
  from e2b.sandbox.websocket_client import WebSocket
14
14
  from e2b.utils.future import DeferredFuture
15
- from pydantic import ConfigDict, PrivateAttr, BaseModel
16
15
 
17
16
  from e2b_code_interpreter.models import Execution, Result, Error
18
17
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "e2b-code-interpreter"
3
- version = "0.0.6"
3
+ version = "0.0.7"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  authors = ["e2b <hello@e2b.dev>"]
6
6
  license = "Apache-2.0"