Skip to content

Commit f2a3b03

Browse files
committed
merged main
2 parents e19c775 + fe9abbd commit f2a3b03

39 files changed

Lines changed: 2055 additions & 1228 deletions

.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)

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
# Autodoc settings
4343
autodoc_default_options = {
4444
"members": None,
45+
"member-order": "bysource",
4546
}
4647

4748
autodoc_typehints = "description"

docs/sdk/async/devbox.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ Devbox
44
The ``AsyncDevbox`` class provides asynchronous methods for managing and interacting with a devbox instance.
55

66
.. automodule:: runloop_api_client.sdk.async_devbox
7-
:members:
8-
7+
:members:

docs/sdk/sync/devbox.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ Devbox
44
The ``Devbox`` class provides synchronous methods for managing and interacting with a devbox instance.
55

66
.. automodule:: runloop_api_client.sdk.devbox
7-
:members:
8-
7+
:members:

docs/sdk/types.rst

Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
Type Reference
22
==============
33

4-
This page documents all TypeDict parameter types used throughout the SDK.
4+
The Runloop Python SDK uses TypeDict objects for configuration parameters to the various API calls. This page documents the TypeDict objects used throughout the SDK.
55

6-
Core Request Options
6+
Blueprint Parameters
77
--------------------
88

9-
These TypeDicts define options for streaming, timeouts, polling, and other request configuration.
10-
11-
.. autotypeddict:: runloop_api_client.sdk._types.ExecuteStreamingCallbacks
12-
13-
.. autotypeddict:: runloop_api_client.sdk._types.RequestOptions
14-
15-
.. autotypeddict:: runloop_api_client.sdk._types.LongRequestOptions
9+
These TypeDicts define parameters for blueprint creation and listing.
1610

17-
.. autotypeddict:: runloop_api_client.sdk._types.PollingRequestOptions
11+
.. autotypeddict:: runloop_api_client.sdk._types.SDKBlueprintCreateParams
1812

19-
.. autotypeddict:: runloop_api_client.sdk._types.LongPollingRequestOptions
13+
.. autotypeddict:: runloop_api_client.sdk._types.SDKBlueprintListParams
2014

2115
Devbox Parameters
2216
-----------------
2317

24-
These TypeDicts define parameters for devbox creation, execution, file operations, network tunnels, and snapshots.
18+
These TypeDicts define parameters for devbox creation, listing, and operations.
2519

2620
Creation Parameters
2721
~~~~~~~~~~~~~~~~~~~
@@ -30,18 +24,18 @@ Creation Parameters
3024

3125
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxCreateFromImageParams
3226

33-
Execution Parameters
34-
~~~~~~~~~~~~~~~~~~~~
35-
36-
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxExecuteParams
37-
38-
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxExecuteAsyncParams
39-
4027
Listing Parameters
4128
~~~~~~~~~~~~~~~~~~
4229

4330
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxListParams
4431

32+
Command Execution Parameters
33+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34+
35+
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxExecuteParams
36+
37+
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxExecuteAsyncParams
38+
4539
File Operation Parameters
4640
~~~~~~~~~~~~~~~~~~~~~~~~~
4741

@@ -54,14 +48,16 @@ File Operation Parameters
5448
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxUploadFileParams
5549

5650
Network Tunnel Parameters
57-
~~~~~~~~~~~~~~~~~~~~~~~~~~
51+
~~~~~~~~~~~~~~~~~~~~~~~~~
5852

5953
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxCreateTunnelParams
6054

6155
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxRemoveTunnelParams
6256

6357
Snapshot Parameters
64-
~~~~~~~~~~~~~~~~~~~
58+
-------------------
59+
60+
These TypeDicts define parameters for snapshot creation, listing, and updating.
6561

6662
.. autotypeddict:: runloop_api_client.sdk._types.SDKDevboxSnapshotDiskParams
6763

@@ -71,15 +67,6 @@ Snapshot Parameters
7167

7268
.. autotypeddict:: runloop_api_client.sdk._types.SDKDiskSnapshotUpdateParams
7369

74-
Blueprint Parameters
75-
--------------------
76-
77-
These TypeDicts define parameters for blueprint creation and listing.
78-
79-
.. autotypeddict:: runloop_api_client.sdk._types.SDKBlueprintCreateParams
80-
81-
.. autotypeddict:: runloop_api_client.sdk._types.SDKBlueprintListParams
82-
8370
Storage Object Parameters
8471
-------------------------
8572

@@ -90,3 +77,35 @@ These TypeDicts define parameters for storage object creation, listing, and down
9077
.. autotypeddict:: runloop_api_client.sdk._types.SDKObjectListParams
9178

9279
.. autotypeddict:: runloop_api_client.sdk._types.SDKObjectDownloadParams
80+
81+
Core Request Options
82+
--------------------
83+
84+
These TypeDicts define options for timeouts, idempotency, polling, and other low-level request configuration. All other TypeDicts in the SDK extend from one of these core types.
85+
86+
.. autotypeddict:: runloop_api_client.sdk._types.BaseRequestOptions
87+
88+
.. autotypeddict:: runloop_api_client.sdk._types.LongRequestOptions
89+
90+
.. autoclass:: runloop_api_client.sdk._types.PollingConfig
91+
:members:
92+
:undoc-members:
93+
94+
.. autotypeddict:: runloop_api_client.sdk._types.PollingRequestOptions
95+
96+
.. autotypeddict:: runloop_api_client.sdk._types.LongPollingRequestOptions
97+
98+
Base API Type Reference
99+
-----------------------
100+
101+
.. automodule:: runloop_api_client.types.shared_params
102+
:members:
103+
:undoc-members:
104+
:imported-members:
105+
:member-order: groupwise
106+
107+
.. automodule:: runloop_api_client.types
108+
:members:
109+
:undoc-members:
110+
:imported-members:
111+
:member-order: groupwise

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/blueprints.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,11 +981,13 @@ async def create_and_await_build_complete(
981981
base_blueprint_id: Optional[str] | Omit = omit,
982982
base_blueprint_name: Optional[str] | Omit = omit,
983983
build_args: Optional[Dict[str, str]] | Omit = omit,
984+
build_context: Optional[blueprint_create_params.BuildContext] | Omit = omit,
984985
code_mounts: Optional[Iterable[CodeMountParameters]] | Omit = omit,
985986
dockerfile: Optional[str] | Omit = omit,
986987
file_mounts: Optional[Dict[str, str]] | Omit = omit,
987988
launch_parameters: Optional[LaunchParameters] | Omit = omit,
988989
metadata: Optional[Dict[str, str]] | Omit = omit,
990+
named_build_contexts: Optional[Dict[str, blueprint_create_params.NamedBuildContexts]] | Omit = omit,
989991
secrets: Optional[Dict[str, str]] | Omit = omit,
990992
services: Optional[Iterable[blueprint_create_params.Service]] | Omit = omit,
991993
system_setup_commands: Optional[SequenceNotStr[str]] | Omit = omit,
@@ -1019,11 +1021,13 @@ async def create_and_await_build_complete(
10191021
base_blueprint_id=base_blueprint_id,
10201022
base_blueprint_name=base_blueprint_name,
10211023
build_args=build_args,
1024+
build_context=build_context,
10221025
code_mounts=code_mounts,
10231026
dockerfile=dockerfile,
10241027
file_mounts=file_mounts,
10251028
launch_parameters=launch_parameters,
10261029
metadata=metadata,
1030+
named_build_contexts=named_build_contexts,
10271031
secrets=secrets,
10281032
services=services,
10291033
system_setup_commands=system_setup_commands,

0 commit comments

Comments
 (0)