diff --git a/.stats.yml b/.stats.yml index d5e332922..b0b5ea152 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 47 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-bb75051b5b1bd5fe1a0e7912e0f221a29b8bb78980fc0398efe5b98e0136d867.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-b0385adb6f63afa04a7bfdc2c5822727d240a456be8ebd1edde4023b96d23147.yml diff --git a/src/runloop_api_client/resources/devboxes/devboxes.py b/src/runloop_api_client/resources/devboxes/devboxes.py index 2e3c7bc03..4edef1ace 100644 --- a/src/runloop_api_client/resources/devboxes/devboxes.py +++ b/src/runloop_api_client/resources/devboxes/devboxes.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Dict, List, Mapping, Iterable, cast +from typing import Dict, Mapping, Iterable, cast import httpx @@ -126,7 +126,6 @@ def create( metadata: Dict[str, str] | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, prebuilt: str | NotGiven = NOT_GIVEN, - setup_commands: List[str] | NotGiven = NOT_GIVEN, snapshot_id: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -165,10 +164,6 @@ def create( prebuilt: Reference to prebuilt Blueprint. - setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include - fetching a tool or building your dependencies. Runloop will look optimize these - steps for you. - snapshot_id: Snapshot ID to use for the Devbox. extra_headers: Send extra headers @@ -193,7 +188,6 @@ def create( "metadata": metadata, "name": name, "prebuilt": prebuilt, - "setup_commands": setup_commands, "snapshot_id": snapshot_id, }, devbox_create_params.DevboxCreateParams, @@ -896,7 +890,6 @@ async def create( metadata: Dict[str, str] | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, prebuilt: str | NotGiven = NOT_GIVEN, - setup_commands: List[str] | NotGiven = NOT_GIVEN, snapshot_id: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -935,10 +928,6 @@ async def create( prebuilt: Reference to prebuilt Blueprint. - setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include - fetching a tool or building your dependencies. Runloop will look optimize these - steps for you. - snapshot_id: Snapshot ID to use for the Devbox. extra_headers: Send extra headers @@ -963,7 +952,6 @@ async def create( "metadata": metadata, "name": name, "prebuilt": prebuilt, - "setup_commands": setup_commands, "snapshot_id": snapshot_id, }, devbox_create_params.DevboxCreateParams, diff --git a/src/runloop_api_client/types/devbox_create_params.py b/src/runloop_api_client/types/devbox_create_params.py index 092476a18..68ffc9bba 100644 --- a/src/runloop_api_client/types/devbox_create_params.py +++ b/src/runloop_api_client/types/devbox_create_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Dict, List, Iterable +from typing import Dict, Iterable from typing_extensions import TypedDict from .code_mount_parameters_param import CodeMountParametersParam @@ -53,12 +53,5 @@ class DevboxCreateParams(TypedDict, total=False): prebuilt: str """Reference to prebuilt Blueprint.""" - setup_commands: List[str] - """(Optional) List of commands needed to set up your Devbox. - - Examples might include fetching a tool or building your dependencies. Runloop - will look optimize these steps for you. - """ - snapshot_id: str """Snapshot ID to use for the Devbox.""" diff --git a/tests/api_resources/test_devboxes.py b/tests/api_resources/test_devboxes.py index 96482f9af..33b7bf481 100644 --- a/tests/api_resources/test_devboxes.py +++ b/tests/api_resources/test_devboxes.py @@ -68,7 +68,6 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: metadata={"foo": "string"}, name="name", prebuilt="prebuilt", - setup_commands=["string"], snapshot_id="snapshot_id", ) assert_matches_type(DevboxView, devbox, path=["response"]) @@ -810,7 +809,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - metadata={"foo": "string"}, name="name", prebuilt="prebuilt", - setup_commands=["string"], snapshot_id="snapshot_id", ) assert_matches_type(DevboxView, devbox, path=["response"])