Skip to content

Commit 6d5f1eb

Browse files
committed
big refactor (moved client classes to _sync.py and _async.py, and moved shared methods/types to _helpers.py)
1 parent 5fe9dd1 commit 6d5f1eb

14 files changed

Lines changed: 2156 additions & 744 deletions

src/runloop_api_client/sdk/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
from __future__ import annotations
22

3-
from ._sync import RunloopSDK
4-
from ._async import AsyncRunloopSDK
5-
from .devbox import Devbox, DevboxClient
6-
from .snapshot import Snapshot, SnapshotClient
7-
from .blueprint import Blueprint, BlueprintClient
3+
from ._sync import RunloopSDK, DevboxClient, SnapshotClient, BlueprintClient, StorageObjectClient
4+
from ._async import AsyncRunloopSDK, AsyncDevboxClient, AsyncSnapshotClient, AsyncBlueprintClient, AsyncStorageObjectClient
5+
from .devbox import Devbox
6+
from .snapshot import Snapshot
7+
from .blueprint import Blueprint
88
from .execution import Execution
9-
from .async_devbox import AsyncDevbox, AsyncDevboxClient
10-
from .async_snapshot import AsyncSnapshot, AsyncSnapshotClient
11-
from .storage_object import StorageObject, StorageObjectClient
12-
from .async_blueprint import AsyncBlueprint, AsyncBlueprintClient
9+
from .async_devbox import AsyncDevbox
10+
from .async_snapshot import AsyncSnapshot
11+
from .storage_object import StorageObject
12+
from .async_blueprint import AsyncBlueprint
1313
from .async_execution import AsyncExecution
1414
from .execution_result import ExecutionResult
15-
from .async_storage_object import AsyncStorageObject, AsyncStorageObjectClient
15+
from .async_storage_object import AsyncStorageObject
1616
from .async_execution_result import AsyncExecutionResult
1717

1818
__all__ = [

0 commit comments

Comments
 (0)