Skip to content

Commit 52644b5

Browse files
release: 0.69.0 (#675)
* feat(devbox): unify api for devbox mounts * release: 0.69.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 7723494 commit 52644b5

13 files changed

Lines changed: 74 additions & 17 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.68.0"
2+
".": "0.69.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 97
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-5f33221208c1febba343daf570f73a5086f150a9b128df045ebddc3fe2c86607.yml
3-
openapi_spec_hash: 0aea07130ddbe43a665a13a68231e2ca
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-0dd27c6877ed117c50fe0af95cee4d54c646d2484368e131b8e3315eba3fffcc.yml
3+
openapi_spec_hash: 68f663172747aef8e66f2b23289efc7b
44
config_hash: 2363f563f42501d2b1587a4f64bdccaf

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.69.0 (2025-11-21)
4+
5+
Full Changelog: [v0.68.0...v0.69.0](https://github.com/runloopai/api-client-python/compare/v0.68.0...v0.69.0)
6+
7+
### Features
8+
9+
* **blueprints:** blueprints create_and_await_build_complete now take in build_context and named_build_context arguments ([#681](https://github.com/runloopai/api-client-python/issues/681)) ([1febe28](https://github.com/runloopai/api-client-python/commit/1febe28e2cadb23eae0cc411922646ce7b8875d3))
10+
* **devbox:** unify api for devbox mounts ([01c7d14](https://github.com/runloopai/api-client-python/commit/01c7d14091961822d7fe706d6fa7528b6607f87a))
11+
* **docs:** add documentation for the object oriented sdk, rendered with sphinx ([#677](https://github.com/runloopai/api-client-python/issues/677)) ([e8d1053](https://github.com/runloopai/api-client-python/commit/e8d1053edd15c07f8e8099e9736f97e5fd72fcfb))
12+
* **storage-objects:** Add upload_from_dir helper method ([#680](https://github.com/runloopai/api-client-python/issues/680)) ([be5d99e](https://github.com/runloopai/api-client-python/commit/be5d99ef9983a64658c38ae5e0364122d11b86c4))
13+
14+
15+
### Documentation
16+
17+
* restructured sync vs async sdk and resources, added support for more type references ([#679](https://github.com/runloopai/api-client-python/issues/679)) ([6af891e](https://github.com/runloopai/api-client-python/commit/6af891e0b87d038b5b61a683fdf410df94f495b6))
18+
319
## 0.68.0 (2025-11-19)
420

521
Full Changelog: [v0.67.0...v0.68.0](https://github.com/runloopai/api-client-python/compare/v0.67.0...v0.68.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "runloop_api_client"
3-
version = "0.68.0"
3+
version = "0.69.0"
44
description = "The official Python library for the runloop API"
55
dynamic = ["readme"]
66
license = "MIT"

src/runloop_api_client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "runloop_api_client"
4-
__version__ = "0.68.0" # x-release-please-version
4+
__version__ = "0.69.0" # x-release-please-version

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def create(
231231
232232
metadata: User defined metadata to attach to the devbox for organization.
233233
234-
mounts: A list of file system mounts to be included in the Devbox.
234+
mounts: A list of mounts to be included in the Devbox.
235235
236236
name: (Optional) A user specified name to give the Devbox.
237237
@@ -1769,7 +1769,7 @@ async def create(
17691769
17701770
metadata: User defined metadata to attach to the devbox for organization.
17711771
1772-
mounts: A list of file system mounts to be included in the Devbox.
1772+
mounts: A list of mounts to be included in the Devbox.
17731773
17741774
name: (Optional) A user specified name to give the Devbox.
17751775

src/runloop_api_client/types/devbox_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DevboxBaseCreateParams(TypedDict, total=False):
4444
"""User defined metadata to attach to the devbox for organization."""
4545

4646
mounts: Optional[Iterable[Mount]]
47-
"""A list of file system mounts to be included in the Devbox."""
47+
"""A list of mounts to be included in the Devbox."""
4848

4949
name: Optional[str]
5050
"""(Optional) A user specified name to give the Devbox."""

src/runloop_api_client/types/shared/code_mount_parameters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import Optional
4+
from typing_extensions import Literal
45

56
from ..._models import BaseModel
67

@@ -17,6 +18,8 @@ class CodeMountParameters(BaseModel):
1718
repo_owner: str
1819
"""The owner of the repo."""
1920

21+
type: Literal["code_mount"]
22+
2023
token: Optional[str] = None
2124
"""The authentication token necessary to pull repo."""
2225

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Union
4-
from typing_extensions import Annotated, TypeAlias
3+
from typing import Dict, Union
4+
from typing_extensions import Literal, Annotated, TypeAlias
55

66
from ..._utils import PropertyInfo
7+
from ..._models import BaseModel
8+
from .code_mount_parameters import CodeMountParameters
79
from .agent_mount_parameters import AgentMountParameters
810
from .object_mount_parameters import ObjectMountParameters
911

10-
__all__ = ["Mount"]
12+
__all__ = ["Mount", "FileMountParameters"]
1113

12-
Mount: TypeAlias = Annotated[Union[ObjectMountParameters, AgentMountParameters], PropertyInfo(discriminator="type")]
14+
15+
class FileMountParameters(BaseModel):
16+
files: Dict[str, str]
17+
"""Map of file paths to file contents to be written before setup.
18+
19+
Keys are absolute paths where files should be created, values are the file
20+
contents.
21+
"""
22+
23+
type: Literal["file_mount"]
24+
25+
26+
Mount: TypeAlias = Annotated[
27+
Union[ObjectMountParameters, AgentMountParameters, CodeMountParameters, FileMountParameters],
28+
PropertyInfo(discriminator="type"),
29+
]

src/runloop_api_client/types/shared_params/code_mount_parameters.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
from typing import Optional
6-
from typing_extensions import Required, TypedDict
6+
from typing_extensions import Literal, Required, TypedDict
77

88
__all__ = ["CodeMountParameters"]
99

@@ -18,6 +18,8 @@ class CodeMountParameters(TypedDict, total=False):
1818
repo_owner: Required[str]
1919
"""The owner of the repo."""
2020

21+
type: Required[Literal["code_mount"]]
22+
2123
token: Optional[str]
2224
"""The authentication token necessary to pull repo."""
2325

0 commit comments

Comments
 (0)