Skip to content

Commit 2b25096

Browse files
committed
more formatting
1 parent 5069686 commit 2b25096

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

packages/python-sdk/e2b/connection_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class ConnectionConfig:
4848
"""
4949
Configuration for the connection to the API.
5050
"""
51+
5152
envd_port = 49983
5253

5354
@staticmethod

packages/python-sdk/e2b/sandbox/main.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def __init__(
4646
self.__sandbox_domain = sandbox_domain or self.connection_config.domain
4747
self.__envd_version = envd_version
4848
self.__envd_access_token = envd_access_token
49-
self.__envd_api_url = self.connection_config.get_sandbox_url(self.sandbox_id, self.sandbox_domain)
49+
self.__envd_api_url = self.connection_config.get_sandbox_url(
50+
self.sandbox_id, self.sandbox_domain
51+
)
5052
self.__mcp_token: Optional[str] = None
5153

5254
@property
@@ -195,7 +197,9 @@ def get_host(self, port: int) -> str:
195197
196198
:return: Host address to connect to
197199
"""
198-
return self.connection_config.get_host(self.sandbox_id, self.sandbox_domain, port)
200+
return self.connection_config.get_host(
201+
self.sandbox_id, self.sandbox_domain, port
202+
)
199203

200204
def get_mcp_url(self) -> str:
201205
"""

packages/python-sdk/e2b/sandbox_async/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def __init__(self, **opts: Unpack[SandboxOpts]):
9595
limits=self._limits, proxy=self.connection_config.proxy
9696
)
9797
self._envd_api = httpx.AsyncClient(
98-
base_url=self.connection_config.get_sandbox_url(self.sandbox_id, self.sandbox_domain),
98+
base_url=self.connection_config.get_sandbox_url(
99+
self.sandbox_id, self.sandbox_domain
100+
),
99101
transport=self._transport,
100102
headers=self.connection_config.sandbox_headers,
101103
)

0 commit comments

Comments
 (0)