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.
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/PKG-INFO +1 -1
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/e2b_code_interpreter/main.py +1 -1
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/e2b_code_interpreter/messaging.py +1 -2
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/pyproject.toml +1 -1
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/README.md +0 -0
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/e2b_code_interpreter/__init__.py +0 -0
- {e2b_code_interpreter-0.0.6 → e2b_code_interpreter-0.0.7}/e2b_code_interpreter/models.py +0 -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 = {"
|
|
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,
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|