e2b-code-interpreter 1.2.0b0__tar.gz → 1.2.1rc2__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: 1.2.0b0
3
+ Version: 1.2.1rc2
4
4
  Summary: E2B Code Interpreter - Stateful code execution
5
5
  Home-page: https://e2b.dev/
6
6
  License: Apache-2.0
@@ -14,8 +14,9 @@ Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
17
18
  Requires-Dist: attrs (>=21.3.0)
18
- Requires-Dist: e2b (==1.2.0b0)
19
+ Requires-Dist: e2b (==1.2.0rc2)
19
20
  Requires-Dist: httpx (>=0.20.0,<1.0.0)
20
21
  Project-URL: Bug Tracker, https://github.com/e2b-dev/code-interpreter/issues
21
22
  Project-URL: Repository, https://github.com/e2b-dev/code-interpreter/tree/main/python
@@ -44,10 +44,14 @@ class Chart:
44
44
  elements: List[Any]
45
45
 
46
46
  def __init__(self, **kwargs):
47
+ self._raw_data = kwargs
47
48
  self.type = ChartType(kwargs["type"] or ChartType.UNKNOWN)
48
49
  self.title = kwargs["title"]
49
50
  self.elements = kwargs["elements"]
50
51
 
52
+ def to_dict(self) -> dict:
53
+ return self._raw_data
54
+
51
55
 
52
56
  class Chart2D(Chart):
53
57
  x_label: Optional[str]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "e2b-code-interpreter"
3
- version = "1.2.0b0"
3
+ version = "1.2.1rc2"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  authors = ["e2b <hello@e2b.dev>"]
6
6
  license = "Apache-2.0"
@@ -14,7 +14,7 @@ python = "^3.8"
14
14
 
15
15
  httpx = ">=0.20.0, <1.0.0"
16
16
  attrs = ">=21.3.0"
17
- e2b = "1.2.0b0"
17
+ e2b = "1.2.0rc2"
18
18
 
19
19
  [tool.poetry.group.dev.dependencies]
20
20
  pytest = "^7.4.0"