Skip to content

Commit

Permalink
Setup exports in python
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Mar 28, 2024
1 parent 0909010 commit 6dd072c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions python/e2b_code_interpreter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .main import CodeInterpreter, JupyterExtension
from .models import Cell, Error, DisplayData, KernelException
2 changes: 1 addition & 1 deletion python/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
result = sandbox.notebook.exec_cell(code)

print(result.result.keys())
print(len(result.display_data))
print(len(result.display_data))
2 changes: 1 addition & 1 deletion template/jupyter_server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# Takes precedence over allow_origin_pat.
# Default: ''
c.ServerApp.allow_origin = '*'
c.ServerApp.allow_origin = "*"


# Allow requests where the Host header doesn't point to a local server
Expand Down

0 comments on commit 6dd072c

Please sign in to comment.