Skip to content

Commit 901c481

Browse files
authored
Merge pull request #53 from runloopai/release-please--branches--main--changes--next
release: 0.1.0-alpha.8
2 parents ac71ca0 + 491f15d commit 901c481

File tree

13 files changed

+63
-8
lines changed

13 files changed

+63
-8
lines changed

.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.1.0-alpha.7"
2+
".": "0.1.0-alpha.8"
33
}

.stats.yml

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

CHANGELOG.md

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

3+
## 0.1.0-alpha.8 (2024-08-01)
4+
5+
Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
6+
7+
### Features
8+
9+
* **api:** OpenAPI spec update via Stainless API ([#52](https://github.com/runloopai/api-client-python/issues/52)) ([f7b6f31](https://github.com/runloopai/api-client-python/commit/f7b6f31ac8c9f75f821497eeb4840ded40a156af))
10+
* **api:** OpenAPI spec update via Stainless API ([#54](https://github.com/runloopai/api-client-python/issues/54)) ([008ea96](https://github.com/runloopai/api-client-python/commit/008ea96ea340405d5660aef5024127764380e149))
11+
* **api:** OpenAPI spec update via Stainless API ([#55](https://github.com/runloopai/api-client-python/issues/55)) ([daae357](https://github.com/runloopai/api-client-python/commit/daae357f65e078a1e156ddeeb8cf908339caa2e4))
12+
* **api:** OpenAPI spec update via Stainless API ([#56](https://github.com/runloopai/api-client-python/issues/56)) ([ba93ed6](https://github.com/runloopai/api-client-python/commit/ba93ed64442f52fd482f499183eb6a0d405de4be))
13+
* **api:** OpenAPI spec update via Stainless API ([#57](https://github.com/runloopai/api-client-python/issues/57)) ([12018b3](https://github.com/runloopai/api-client-python/commit/12018b32ac22d69ebc84e01e00c8b48a08d20224))
14+
* **api:** update via SDK Studio ([#58](https://github.com/runloopai/api-client-python/issues/58)) ([86cf18f](https://github.com/runloopai/api-client-python/commit/86cf18f654a62dd48e2d6d36d6d5f2e57d362470))
15+
316
## 0.1.0-alpha.7 (2024-07-30)
417

518
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)

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.1.0-alpha.7"
3+
version = "0.1.0-alpha.8"
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.1.0-alpha.7" # x-release-please-version
4+
__version__ = "0.1.0-alpha.8" # x-release-please-version

src/runloop_api_client/resources/blueprints.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Iterable
5+
from typing import Dict, List, Iterable
66

77
import httpx
88

@@ -44,6 +44,7 @@ def create(
4444
*,
4545
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
4646
dockerfile: str | NotGiven = NOT_GIVEN,
47+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
4748
launch_parameters: blueprint_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
4849
name: str | NotGiven = NOT_GIVEN,
4950
system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -65,6 +66,8 @@ def create(
6566
6667
dockerfile: Dockerfile contents to be used to build the Blueprint.
6768
69+
file_mounts: (Optional) Map of paths and file contents to write before setup..
70+
6871
launch_parameters: Parameters to configure your Devbox at launch time.
6972
7073
name: Name of the Blueprint.
@@ -85,6 +88,7 @@ def create(
8588
{
8689
"code_mounts": code_mounts,
8790
"dockerfile": dockerfile,
91+
"file_mounts": file_mounts,
8892
"launch_parameters": launch_parameters,
8993
"name": name,
9094
"system_setup_commands": system_setup_commands,
@@ -220,6 +224,7 @@ def preview(
220224
*,
221225
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
222226
dockerfile: str | NotGiven = NOT_GIVEN,
227+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
223228
launch_parameters: blueprint_preview_params.LaunchParameters | NotGiven = NOT_GIVEN,
224229
name: str | NotGiven = NOT_GIVEN,
225230
system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -240,6 +245,8 @@ def preview(
240245
241246
dockerfile: Dockerfile contents to be used to build the Blueprint.
242247
248+
file_mounts: (Optional) Map of paths and file contents to write before setup..
249+
243250
launch_parameters: Parameters to configure your Devbox at launch time.
244251
245252
name: Name of the Blueprint.
@@ -260,6 +267,7 @@ def preview(
260267
{
261268
"code_mounts": code_mounts,
262269
"dockerfile": dockerfile,
270+
"file_mounts": file_mounts,
263271
"launch_parameters": launch_parameters,
264272
"name": name,
265273
"system_setup_commands": system_setup_commands,
@@ -287,6 +295,7 @@ async def create(
287295
*,
288296
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
289297
dockerfile: str | NotGiven = NOT_GIVEN,
298+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
290299
launch_parameters: blueprint_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
291300
name: str | NotGiven = NOT_GIVEN,
292301
system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -308,6 +317,8 @@ async def create(
308317
309318
dockerfile: Dockerfile contents to be used to build the Blueprint.
310319
320+
file_mounts: (Optional) Map of paths and file contents to write before setup..
321+
311322
launch_parameters: Parameters to configure your Devbox at launch time.
312323
313324
name: Name of the Blueprint.
@@ -328,6 +339,7 @@ async def create(
328339
{
329340
"code_mounts": code_mounts,
330341
"dockerfile": dockerfile,
342+
"file_mounts": file_mounts,
331343
"launch_parameters": launch_parameters,
332344
"name": name,
333345
"system_setup_commands": system_setup_commands,
@@ -463,6 +475,7 @@ async def preview(
463475
*,
464476
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
465477
dockerfile: str | NotGiven = NOT_GIVEN,
478+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
466479
launch_parameters: blueprint_preview_params.LaunchParameters | NotGiven = NOT_GIVEN,
467480
name: str | NotGiven = NOT_GIVEN,
468481
system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -483,6 +496,8 @@ async def preview(
483496
484497
dockerfile: Dockerfile contents to be used to build the Blueprint.
485498
499+
file_mounts: (Optional) Map of paths and file contents to write before setup..
500+
486501
launch_parameters: Parameters to configure your Devbox at launch time.
487502
488503
name: Name of the Blueprint.
@@ -503,6 +518,7 @@ async def preview(
503518
{
504519
"code_mounts": code_mounts,
505520
"dockerfile": dockerfile,
521+
"file_mounts": file_mounts,
506522
"launch_parameters": launch_parameters,
507523
"name": name,
508524
"system_setup_commands": system_setup_commands,

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def create(
5757
code_handle: str | NotGiven = NOT_GIVEN,
5858
entrypoint: str | NotGiven = NOT_GIVEN,
5959
environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
60+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
6061
name: str | NotGiven = NOT_GIVEN,
6162
setup_commands: List[str] | NotGiven = NOT_GIVEN,
6263
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -86,6 +87,8 @@ def create(
8687
8788
environment_variables: (Optional) Environment variables used to configure your Devbox.
8889
90+
file_mounts: (Optional) Map of paths and file contents to write before setup..
91+
8992
name: (Optional) A user specified name to give the Devbox.
9093
9194
setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
@@ -109,6 +112,7 @@ def create(
109112
"code_handle": code_handle,
110113
"entrypoint": entrypoint,
111114
"environment_variables": environment_variables,
115+
"file_mounts": file_mounts,
112116
"name": name,
113117
"setup_commands": setup_commands,
114118
},
@@ -299,6 +303,7 @@ async def create(
299303
code_handle: str | NotGiven = NOT_GIVEN,
300304
entrypoint: str | NotGiven = NOT_GIVEN,
301305
environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
306+
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
302307
name: str | NotGiven = NOT_GIVEN,
303308
setup_commands: List[str] | NotGiven = NOT_GIVEN,
304309
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -328,6 +333,8 @@ async def create(
328333
329334
environment_variables: (Optional) Environment variables used to configure your Devbox.
330335
336+
file_mounts: (Optional) Map of paths and file contents to write before setup..
337+
331338
name: (Optional) A user specified name to give the Devbox.
332339
333340
setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
@@ -351,6 +358,7 @@ async def create(
351358
"code_handle": code_handle,
352359
"entrypoint": entrypoint,
353360
"environment_variables": environment_variables,
361+
"file_mounts": file_mounts,
354362
"name": name,
355363
"setup_commands": setup_commands,
356364
},

src/runloop_api_client/types/blueprint_build_parameters.py

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

3-
from typing import List, Optional
3+
from typing import Dict, List, Optional
44

55
from .._models import BaseModel
66
from .resource_size import ResourceSize
@@ -24,6 +24,9 @@ class BlueprintBuildParameters(BaseModel):
2424
dockerfile: Optional[str] = None
2525
"""Dockerfile contents to be used to build the Blueprint."""
2626

27+
file_mounts: Optional[Dict[str, str]] = None
28+
"""(Optional) Map of paths and file contents to write before setup.."""
29+
2730
launch_parameters: Optional[LaunchParameters] = None
2831
"""Parameters to configure your Devbox at launch time."""
2932

src/runloop_api_client/types/blueprint_create_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Iterable
5+
from typing import Dict, List, Iterable
66
from typing_extensions import TypedDict
77

88
from .resource_size import ResourceSize
@@ -18,6 +18,9 @@ class BlueprintCreateParams(TypedDict, total=False):
1818
dockerfile: str
1919
"""Dockerfile contents to be used to build the Blueprint."""
2020

21+
file_mounts: Dict[str, str]
22+
"""(Optional) Map of paths and file contents to write before setup.."""
23+
2124
launch_parameters: LaunchParameters
2225
"""Parameters to configure your Devbox at launch time."""
2326

src/runloop_api_client/types/blueprint_preview_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Iterable
5+
from typing import Dict, List, Iterable
66
from typing_extensions import TypedDict
77

88
from .resource_size import ResourceSize
@@ -18,6 +18,9 @@ class BlueprintPreviewParams(TypedDict, total=False):
1818
dockerfile: str
1919
"""Dockerfile contents to be used to build the Blueprint."""
2020

21+
file_mounts: Dict[str, str]
22+
"""(Optional) Map of paths and file contents to write before setup.."""
23+
2124
launch_parameters: LaunchParameters
2225
"""Parameters to configure your Devbox at launch time."""
2326

0 commit comments

Comments
 (0)