Skip to content

Commit f802115

Browse files
feat(api): OpenAPI spec update via Stainless API (#167)
1 parent d2c96a5 commit f802115

4 files changed

Lines changed: 1 addition & 14 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-ecc02bc506fbcc56d59da2e33fbf6024ea1dd93c37ad058cb597afe38da36098.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-6a2957eefc52bc72e8f14bc3d6c6e3f6754c29f4c8189af201d19d2819e80b1a.yml

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def create(
9797
launch_parameters: devbox_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
9898
metadata: Dict[str, str] | NotGiven = NOT_GIVEN,
9999
name: str | NotGiven = NOT_GIVEN,
100-
prebuilt_handle: str | NotGiven = NOT_GIVEN,
101100
setup_commands: List[str] | NotGiven = NOT_GIVEN,
102101
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
103102
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -134,8 +133,6 @@ def create(
134133
135134
name: (Optional) A user specified name to give the Devbox.
136135
137-
prebuilt_handle: Handle to prebuilt.
138-
139136
setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
140137
fetching a tool or building your dependencies. Runloop will look optimize these
141138
steps for you.
@@ -161,7 +158,6 @@ def create(
161158
"launch_parameters": launch_parameters,
162159
"metadata": metadata,
163160
"name": name,
164-
"prebuilt_handle": prebuilt_handle,
165161
"setup_commands": setup_commands,
166162
},
167163
devbox_create_params.DevboxCreateParams,
@@ -592,7 +588,6 @@ async def create(
592588
launch_parameters: devbox_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
593589
metadata: Dict[str, str] | NotGiven = NOT_GIVEN,
594590
name: str | NotGiven = NOT_GIVEN,
595-
prebuilt_handle: str | NotGiven = NOT_GIVEN,
596591
setup_commands: List[str] | NotGiven = NOT_GIVEN,
597592
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
598593
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -629,8 +624,6 @@ async def create(
629624
630625
name: (Optional) A user specified name to give the Devbox.
631626
632-
prebuilt_handle: Handle to prebuilt.
633-
634627
setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
635628
fetching a tool or building your dependencies. Runloop will look optimize these
636629
steps for you.
@@ -656,7 +649,6 @@ async def create(
656649
"launch_parameters": launch_parameters,
657650
"metadata": metadata,
658651
"name": name,
659-
"prebuilt_handle": prebuilt_handle,
660652
"setup_commands": setup_commands,
661653
},
662654
devbox_create_params.DevboxCreateParams,

src/runloop_api_client/types/devbox_create_params.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ class DevboxCreateParams(TypedDict, total=False):
5050
name: str
5151
"""(Optional) A user specified name to give the Devbox."""
5252

53-
prebuilt_handle: str
54-
"""Handle to prebuilt."""
55-
5653
setup_commands: List[str]
5754
"""(Optional) List of commands needed to set up your Devbox.
5855

tests/api_resources/test_devboxes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
6363
},
6464
metadata={"foo": "string"},
6565
name="name",
66-
prebuilt_handle="prebuilt_handle",
6766
setup_commands=["string", "string", "string"],
6867
)
6968
assert_matches_type(DevboxView, devbox, path=["response"])
@@ -514,7 +513,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
514513
},
515514
metadata={"foo": "string"},
516515
name="name",
517-
prebuilt_handle="prebuilt_handle",
518516
setup_commands=["string", "string", "string"],
519517
)
520518
assert_matches_type(DevboxView, devbox, path=["response"])

0 commit comments

Comments
 (0)