diff --git a/.stats.yml b/.stats.yml index b2ff6aad1..ab5cdaf23 100755 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-6577301ad49bd3086f3dd9cb0848407834eaf00a58446772426f7186b6ba582b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f290dcd103e3a6d5650256bea5942db1508e0dd85e76483242c5556aace4ae48.yml diff --git a/src/runloop_api_client/resources/devboxes/devboxes.py b/src/runloop_api_client/resources/devboxes/devboxes.py index 7b1c0388d..6d499f25c 100755 --- a/src/runloop_api_client/resources/devboxes/devboxes.py +++ b/src/runloop_api_client/resources/devboxes/devboxes.py @@ -67,7 +67,6 @@ def create( environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN, file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN, launch_parameters: devbox_create_params.LaunchParameters | NotGiven = NOT_GIVEN, - metadata: Dict[str, str] | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, setup_commands: List[str] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -99,8 +98,6 @@ def create( launch_parameters: Parameters to configure the resources and launch time behavior of the Devbox. - metadata: User defined metadata to attach to the devbox for organization. - name: (Optional) A user specified name to give the Devbox. setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include @@ -125,7 +122,6 @@ def create( "environment_variables": environment_variables, "file_mounts": file_mounts, "launch_parameters": launch_parameters, - "metadata": metadata, "name": name, "setup_commands": setup_commands, }, @@ -451,7 +447,6 @@ async def create( environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN, file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN, launch_parameters: devbox_create_params.LaunchParameters | NotGiven = NOT_GIVEN, - metadata: Dict[str, str] | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, setup_commands: List[str] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -483,8 +478,6 @@ async def create( launch_parameters: Parameters to configure the resources and launch time behavior of the Devbox. - metadata: User defined metadata to attach to the devbox for organization. - name: (Optional) A user specified name to give the Devbox. setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include @@ -509,7 +502,6 @@ async def create( "environment_variables": environment_variables, "file_mounts": file_mounts, "launch_parameters": launch_parameters, - "metadata": metadata, "name": name, "setup_commands": setup_commands, }, diff --git a/src/runloop_api_client/types/devbox_create_params.py b/src/runloop_api_client/types/devbox_create_params.py index 61bb1453a..80cd31ef3 100755 --- a/src/runloop_api_client/types/devbox_create_params.py +++ b/src/runloop_api_client/types/devbox_create_params.py @@ -40,9 +40,6 @@ class DevboxCreateParams(TypedDict, total=False): launch_parameters: LaunchParameters """Parameters to configure the resources and launch time behavior of the Devbox.""" - metadata: Dict[str, str] - """User defined metadata to attach to the devbox for organization.""" - name: str """(Optional) A user specified name to give the Devbox.""" diff --git a/src/runloop_api_client/types/devbox_view.py b/src/runloop_api_client/types/devbox_view.py index 71eb25578..724ce3372 100755 --- a/src/runloop_api_client/types/devbox_view.py +++ b/src/runloop_api_client/types/devbox_view.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import Dict, Optional +from typing import Optional from typing_extensions import Literal from .._models import BaseModel @@ -27,9 +27,6 @@ class DevboxView(BaseModel): initiator_type: Optional[Literal["unknown", "api", "invocation"]] = None """The initiator of the devbox.""" - metadata: Optional[Dict[str, str]] = None - """The user defined Devbox metadata.""" - name: Optional[str] = None """The name of the Devbox.""" diff --git a/tests/api_resources/test_devboxes.py b/tests/api_resources/test_devboxes.py index 1024eb26f..817ee36a9 100755 --- a/tests/api_resources/test_devboxes.py +++ b/tests/api_resources/test_devboxes.py @@ -39,7 +39,6 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: "launch_commands": ["string", "string", "string"], "resource_size_request": "MINI", }, - metadata={"foo": "string"}, name="name", setup_commands=["string", "string", "string"], ) @@ -383,7 +382,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - "launch_commands": ["string", "string", "string"], "resource_size_request": "MINI", }, - metadata={"foo": "string"}, name="name", setup_commands=["string", "string", "string"], )