Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/runloop_api_client/sdk/_types.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from typing import Union, Callable, Optional
from typing_extensions import TypedDict

from runloop_api_client.types.devboxes import DiskSnapshotUpdateParams

from .._types import Body, Query, Headers, Timeout, NotGiven
from ..lib.polling import PollingConfig
from ..types.devboxes import DiskSnapshotListParams, DiskSnapshotUpdateParams
from ..types.devbox_list_params import DevboxListParams
from ..types.object_list_params import ObjectListParams
from ..types.devbox_create_params import DevboxCreateParams, DevboxBaseCreateParams
Expand All @@ -20,7 +19,6 @@
from ..types.devbox_snapshot_disk_params import DevboxSnapshotDiskParams
from ..types.devbox_read_file_contents_params import DevboxReadFileContentsParams
from ..types.devbox_write_file_contents_params import DevboxWriteFileContentsParams
from ..types.devboxes.disk_snapshot_list_params import DiskSnapshotListParams

LogCallback = Callable[[str], None]

Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/async_devbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
from ._helpers import filter_params
from .._streaming import AsyncStream
from ..lib.polling import PollingConfig
from ..types.devboxes import ExecutionUpdateChunk
from .async_execution import AsyncExecution, _AsyncStreamingGroup
from .async_execution_result import AsyncExecutionResult
from ..types.devbox_execute_async_params import DevboxExecuteAsyncParams
from ..types.devboxes.execution_update_chunk import ExecutionUpdateChunk
from ..types.devbox_async_execution_detail_view import DevboxAsyncExecutionDetailView

StreamFactory = Callable[[], Awaitable[AsyncStream[ExecutionUpdateChunk]]]
Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/async_execution_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .._client import AsyncRunloop
from .._streaming import AsyncStream
from ..types.devboxes.execution_update_chunk import ExecutionUpdateChunk
from ..types.devboxes import ExecutionUpdateChunk
from ..types.devbox_async_execution_detail_view import DevboxAsyncExecutionDetailView


Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/async_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
)
from .._client import AsyncRunloop
from .async_devbox import AsyncDevbox
from ..types.devboxes import DevboxSnapshotAsyncStatusView
from ..types.devbox_snapshot_view import DevboxSnapshotView
from ..types.devboxes.devbox_snapshot_async_status_view import DevboxSnapshotAsyncStatusView


class AsyncSnapshot:
Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/devbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
from .execution import Execution, _StreamingGroup
from .._streaming import Stream
from ..lib.polling import PollingConfig
from ..types.devboxes import ExecutionUpdateChunk
from .execution_result import ExecutionResult
from ..types.devbox_execute_async_params import DevboxExecuteAsyncParams
from ..types.devboxes.execution_update_chunk import ExecutionUpdateChunk
from ..types.devbox_async_execution_detail_view import DevboxAsyncExecutionDetailView

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/execution_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .._client import Runloop
from .._streaming import Stream
from ..types.devboxes.execution_update_chunk import ExecutionUpdateChunk
from ..types.devboxes import ExecutionUpdateChunk
from ..types.devbox_async_execution_detail_view import DevboxAsyncExecutionDetailView


Expand Down
2 changes: 1 addition & 1 deletion src/runloop_api_client/sdk/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
)
from .devbox import Devbox
from .._client import Runloop
from ..types.devboxes import DevboxSnapshotAsyncStatusView
from ..types.devbox_snapshot_view import DevboxSnapshotView
from ..types.devboxes.devbox_snapshot_async_status_view import DevboxSnapshotAsyncStatusView


class Snapshot:
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/async_devbox/test_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from tests.sdk.conftest import TASK_COMPLETION_SHORT
from runloop_api_client.sdk import AsyncDevbox
from runloop_api_client._streaming import AsyncStream
from runloop_api_client.types.devboxes import ExecutionUpdateChunk
from runloop_api_client.sdk.async_execution import _AsyncStreamingGroup
from runloop_api_client.types.devboxes.execution_update_chunk import ExecutionUpdateChunk


class TestAsyncDevboxStreaming:
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/devbox/test_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from runloop_api_client.sdk import Devbox
from runloop_api_client._streaming import Stream
from runloop_api_client.sdk.execution import _StreamingGroup
from runloop_api_client.types.devboxes.execution_update_chunk import ExecutionUpdateChunk
from runloop_api_client.types.devboxes import ExecutionUpdateChunk

# Legacy alias for backward compatibility
SHORT_SLEEP = THREAD_STARTUP_DELAY
Expand Down