diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 276cb37a7..d9381b3d1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.23.1" + ".": "1.23.2" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index ad0d55423..ed9090410 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 120 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-22ab4a80734e5e3792b7287a1281280d52eff936be4d805011521a1b64e1998d.yml -openapi_spec_hash: d109d3b797016fe7657935d55549cc31 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-8f05915b107d49f4a50f2d83abfa1d7233a685f1d85e02465a218fa5acb55ddd.yml +openapi_spec_hash: 905fa27970b4b7201184df9c63eba3b9 config_hash: ed1fdd7c9f0a25647e16b602bad4ff2e diff --git a/CHANGELOG.md b/CHANGELOG.md index c559dc2e1..e83eeec37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## 1.23.1 (2026-06-09) +## 1.23.2 (2026-06-09) -Full Changelog: [v1.23.0...v1.23.1](https://github.com/runloopai/api-client-python/compare/v1.23.0...v1.23.1) +Full Changelog: [v1.23.1...v1.23.2](https://github.com/runloopai/api-client-python/compare/v1.23.1...v1.23.2) ### Features -* **devbox:** add provisioning_tier (flex) to LaunchParameters (alpha) ([#808](https://github.com/runloopai/api-client-python/issues/808)) ([cb59e8b](https://github.com/runloopai/api-client-python/commit/cb59e8bcb4578a8abc8c31902a80ec491949310b)) +* **devbox:** expose provisioning_tier=flex in API + SDKs (alpha) ([#9700](https://github.com/runloopai/api-client-python/issues/9700)) ([139bef6](https://github.com/runloopai/api-client-python/commit/139bef6738aef78b80c6eae23ae40774a8356edd)) ## 1.23.0 (2026-06-05) diff --git a/pyproject.toml b/pyproject.toml index a2d871f4f..7362e5b07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "runloop_api_client" -version = "1.23.1" +version = "1.23.2" description = "The official Python library for the runloop API" dynamic = ["readme"] license = "MIT" diff --git a/src/runloop_api_client/_version.py b/src/runloop_api_client/_version.py index 8a358d286..de8ee1975 100644 --- a/src/runloop_api_client/_version.py +++ b/src/runloop_api_client/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "runloop_api_client" -__version__ = "1.23.1" # x-release-please-version +__version__ = "1.23.2" # x-release-please-version diff --git a/src/runloop_api_client/types/shared/launch_parameters.py b/src/runloop_api_client/types/shared/launch_parameters.py index c7d8858df..c5b412720 100644 --- a/src/runloop_api_client/types/shared/launch_parameters.py +++ b/src/runloop_api_client/types/shared/launch_parameters.py @@ -75,11 +75,10 @@ class LaunchParameters(BaseModel): """ provisioning_tier: Optional[Literal["standard", "flex"]] = None - """(Optional, Alpha) standard is default and flex is lazily provisioned and may be pre-empted. - - This is an alpha feature and its behavior may change without notice. """ - + (Optional, Alpha) standard is default and flex is lazily provisioned and may be + pre-empted. This is an alpha feature and its behavior may change without notice. + """ required_services: Optional[List[str]] = None """A list of ContainerizedService names to be started when a Devbox is created. diff --git a/src/runloop_api_client/types/shared_params/launch_parameters.py b/src/runloop_api_client/types/shared_params/launch_parameters.py index 2d220261d..1fe21fe9a 100644 --- a/src/runloop_api_client/types/shared_params/launch_parameters.py +++ b/src/runloop_api_client/types/shared_params/launch_parameters.py @@ -77,11 +77,10 @@ class LaunchParameters(TypedDict, total=False): """ provisioning_tier: Optional[Literal["standard", "flex"]] - """(Optional, Alpha) standard is default and flex is lazily provisioned and may be pre-empted. - - This is an alpha feature and its behavior may change without notice. """ - + (Optional, Alpha) standard is default and flex is lazily provisioned and may be + pre-empted. This is an alpha feature and its behavior may change without notice. + """ required_services: Optional[SequenceNotStr[str]] """A list of ContainerizedService names to be started when a Devbox is created. diff --git a/tests/api_resources/test_benchmarks.py b/tests/api_resources/test_benchmarks.py index 0c1dd130f..4728cbce5 100644 --- a/tests/api_resources/test_benchmarks.py +++ b/tests/api_resources/test_benchmarks.py @@ -314,6 +314,7 @@ def test_method_start_run_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -703,6 +704,7 @@ async def test_method_start_run_with_all_params(self, async_client: AsyncRunloop }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { diff --git a/tests/api_resources/test_blueprints.py b/tests/api_resources/test_blueprints.py index acec702ab..eaa6d65c4 100644 --- a/tests/api_resources/test_blueprints.py +++ b/tests/api_resources/test_blueprints.py @@ -80,6 +80,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -309,6 +310,7 @@ def test_method_create_from_inspection_with_all_params(self, client: Runloop) -> }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -482,6 +484,7 @@ def test_method_preview_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -598,6 +601,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -827,6 +831,7 @@ async def test_method_create_from_inspection_with_all_params(self, async_client: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -1000,6 +1005,7 @@ async def test_method_preview_with_all_params(self, async_client: AsyncRunloop) }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { diff --git a/tests/api_resources/test_devboxes.py b/tests/api_resources/test_devboxes.py index e755c8cd6..be58c7c21 100644 --- a/tests/api_resources/test_devboxes.py +++ b/tests/api_resources/test_devboxes.py @@ -101,6 +101,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -1770,6 +1771,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { diff --git a/tests/api_resources/test_scenarios.py b/tests/api_resources/test_scenarios.py index 518618462..157f6877a 100644 --- a/tests/api_resources/test_scenarios.py +++ b/tests/api_resources/test_scenarios.py @@ -93,6 +93,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -242,6 +243,7 @@ def test_method_update_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -464,6 +466,7 @@ def test_method_start_run_with_all_params(self, client: Runloop) -> None: }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -586,6 +589,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -735,6 +739,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncRunloop) - }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": { @@ -957,6 +962,7 @@ async def test_method_start_run_with_all_params(self, async_client: AsyncRunloop }, }, "network_policy_id": "network_policy_id", + "provisioning_tier": "standard", "required_services": ["string"], "resource_size_request": "X_SMALL", "user_parameters": {