Skip to content

Commit 9c64603

Browse files
committed
Improve type
1 parent 8ea3448 commit 9c64603

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/python-sdk/e2b/sandbox_async

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async def create(
168168
secure: Optional[bool] = None,
169169
allow_internet_access: Optional[bool] = True,
170170
**opts: Unpack[ApiParams],
171-
):
171+
) -> "AsyncSandbox":
172172
"""
173173
Create a new sandbox.
174174
@@ -234,7 +234,7 @@ async def connect(
234234
cls,
235235
sandbox_id: str,
236236
**opts: Unpack[ApiParams],
237-
):
237+
) -> "AsyncSandbox":
238238
"""
239239
Connect to an existing sandbox.
240240
With a sandbox ID, you can connect to the same sandbox from different places or environments (serverless functions, etc.).

0 commit comments

Comments
 (0)