Skip to content

Commit 862705d

Browse files
committed
Beta submodule in Python SDK
1 parent b80b3e0 commit 862705d

File tree

24 files changed

+1179
-462
lines changed

24 files changed

+1179
-462
lines changed

packages/python-sdk/e2b/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
NotEnoughSpaceException,
4343
TemplateException,
4444
)
45-
from .sandbox.sandbox_api import SandboxInfo, SandboxMetrics
45+
from .sandbox.sandbox_api import SandboxInfo, SandboxQuery, SandboxState, SandboxMetrics
4646
from .sandbox.commands.main import ProcessInfo
4747
from .sandbox.commands.command_handle import (
4848
CommandResult,
@@ -61,11 +61,13 @@
6161
from .sandbox_sync.main import Sandbox
6262
from .sandbox_sync.filesystem.watch_handle import WatchHandle
6363
from .sandbox_sync.commands.command_handle import CommandHandle
64+
from .sandbox_async.paginator import AsyncSandboxPaginator
6465

6566
from .sandbox_async.utils import OutputHandler
6667
from .sandbox_async.main import AsyncSandbox
6768
from .sandbox_async.filesystem.watch_handle import AsyncWatchHandle
6869
from .sandbox_async.commands.command_handle import AsyncCommandHandle
70+
from .sandbox_sync.paginator import SandboxPaginator
6971

7072
__all__ = [
7173
# API
@@ -86,6 +88,9 @@
8688
"SandboxInfo",
8789
"SandboxMetrics",
8890
"ProcessInfo",
91+
"SandboxQuery",
92+
"SandboxState",
93+
"SandboxMetrics",
8994
# Command handle
9095
"CommandResult",
9196
"Stderr",
@@ -101,10 +106,12 @@
101106
"FileType",
102107
# Sync sandbox
103108
"Sandbox",
109+
"SandboxPaginator",
104110
"WatchHandle",
105111
"CommandHandle",
106112
# Async sandbox
107113
"OutputHandler",
114+
"AsyncSandboxPaginator",
108115
"AsyncSandbox",
109116
"AsyncWatchHandle",
110117
"AsyncCommandHandle",

packages/python-sdk/e2b/api/client/api/sandboxes/get_v2_sandboxes.py

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/python-sdk/e2b/api/compatibility/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/python-sdk/e2b/api/compatibility/modified_get_v2_sandboxes.py

Lines changed: 0 additions & 228 deletions
This file was deleted.

0 commit comments

Comments
 (0)