You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/e2b_code_interpreter/models.py
+14-15Lines changed: 14 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,13 @@ class Result:
38
38
The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
39
39
40
40
The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
41
-
as a string, and the result can contain multiple types of data. The text representation is always present, and
42
-
the other representations are optional.
41
+
as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
42
+
for the actual result the representation is always present for the result, the other representations are always optional.
43
43
44
44
The class also provides methods to display the data in a Jupyter notebook.
45
45
"""
46
46
47
-
text: str
48
-
"Text representation of the result. Always present."
0 commit comments