Skip to content

Commit

Permalink
Merge pull request #54 from e2b-dev/fix-bug-in-e2b-incompability
Browse files Browse the repository at this point in the history
Fix bug in e2b incompatibility
  • Loading branch information
jakubno authored Feb 1, 2025
2 parents bfa1170 + 5493595 commit 007e2e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-years-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@e2b/code-interpreter-python': patch
---

Remove bug in init method
3 changes: 0 additions & 3 deletions python/e2b_code_interpreter/code_interpreter_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ class AsyncSandbox(BaseAsyncSandbox):

default_template = DEFAULT_TEMPLATE

def __init__(self, sandbox_id: str, connection_config: ConnectionConfig):
super().__init__(sandbox_id=sandbox_id, connection_config=connection_config)

@property
def _jupyter_url(self) -> str:
return f"{'http' if self.connection_config.debug else 'https'}://{self.get_host(JUPYTER_PORT)}"
Expand Down

0 comments on commit 007e2e5

Please sign in to comment.