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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 1 addition & 13 deletions src/runloop_api_client/resources/devboxes/devboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -193,7 +188,6 @@ def create(
"metadata": metadata,
"name": name,
"prebuilt": prebuilt,
"setup_commands": setup_commands,
"snapshot_id": snapshot_id,
},
devbox_create_params.DevboxCreateParams,
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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,
Expand Down
9 changes: 1 addition & 8 deletions src/runloop_api_client/types/devbox_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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."""
2 changes: 0 additions & 2 deletions tests/api_resources/test_devboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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"])
Expand Down