e2b-code-interpreter 0.0.11a24__tar.gz → 0.0.11b2__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.11a24
3
+ Version: 0.0.11b2
4
4
  Summary: E2B Code Interpreter - Stateful code execution
5
5
  Home-page: https://e2b.dev/
6
6
  License: Apache-2.0
@@ -1,3 +1,3 @@
1
- DEFAULT_TEMPLATE = "code-interpreter-stateful"
1
+ DEFAULT_TEMPLATE = "ci-df"
2
2
  JUPYTER_PORT = 49999
3
3
  DEFAULT_KERNEL_ID = "default"
@@ -88,6 +88,7 @@ class Result:
88
88
  latex: Optional[str] = None
89
89
  json: Optional[dict] = None
90
90
  javascript: Optional[str] = None
91
+ data: Optional[dict] = None
91
92
  is_main_result: bool = False
92
93
  """Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell."""
93
94
  extra: Optional[dict] = None
@@ -120,6 +121,8 @@ class Result:
120
121
  formats.append("json")
121
122
  if self.javascript:
122
123
  formats.append("javascript")
124
+ if self.data:
125
+ formats.append("data")
123
126
 
124
127
  if self.extra:
125
128
  for key in self.extra:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "e2b-code-interpreter"
3
- version = "0.0.11a24"
3
+ version = "0.0.11b2"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  authors = ["e2b <hello@e2b.dev>"]
6
6
  license = "Apache-2.0"