Skip to content

Commit 4936844

Browse files
chore(mounts): Update documentation for deprecated fields to direct the user to the replacement API
1 parent d202b94 commit 4936844

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.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-b1e4697ee11a301905abe34736d6a2e74a2200c2f9bade48b6f50ee2d65a814f.yml
3-
openapi_spec_hash: 3ebe459b324ae2757ba3bee9d1484e90
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-cb2d725f71e87810cd872eacd70e867ca10f94980fdf9c78bb2844c02ee47bf3.yml
3+
openapi_spec_hash: 16ce3e9184fc2afdee66db18a83a96e8
44
config_hash: 2363f563f42501d2b1587a4f64bdccaf

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,15 @@ def create(
217217
successfully built Blueprint with the given name. Only one of (Snapshot ID,
218218
Blueprint ID, Blueprint name) should be specified.
219219
220-
code_mounts: A list of code mounts to be included in the Devbox.
220+
code_mounts: A list of code mounts to be included in the Devbox. Use mounts instead.
221221
222222
entrypoint: (Optional) When specified, the Devbox will run this script as its main
223223
executable. The devbox lifecycle will be bound to entrypoint, shutting down when
224224
the process is complete.
225225
226226
environment_variables: (Optional) Environment variables used to configure your Devbox.
227227
228-
file_mounts: (Optional) Map of paths and file contents to write before setup..
228+
file_mounts: Map of paths and file contents to write before setup. Use mounts instead.
229229
230230
launch_parameters: Parameters to configure the resources and launch time behavior of the Devbox.
231231
@@ -1755,15 +1755,15 @@ async def create(
17551755
successfully built Blueprint with the given name. Only one of (Snapshot ID,
17561756
Blueprint ID, Blueprint name) should be specified.
17571757
1758-
code_mounts: A list of code mounts to be included in the Devbox.
1758+
code_mounts: A list of code mounts to be included in the Devbox. Use mounts instead.
17591759
17601760
entrypoint: (Optional) When specified, the Devbox will run this script as its main
17611761
executable. The devbox lifecycle will be bound to entrypoint, shutting down when
17621762
the process is complete.
17631763
17641764
environment_variables: (Optional) Environment variables used to configure your Devbox.
17651765
1766-
file_mounts: (Optional) Map of paths and file contents to write before setup..
1766+
file_mounts: Map of paths and file contents to write before setup. Use mounts instead.
17671767
17681768
launch_parameters: Parameters to configure the resources and launch time behavior of the Devbox.
17691769

src/runloop_api_client/types/devbox_create_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# create methods.
2323
class DevboxBaseCreateParams(TypedDict, total=False):
2424
code_mounts: Optional[Iterable[CodeMountParameters]]
25-
"""A list of code mounts to be included in the Devbox."""
25+
"""A list of code mounts to be included in the Devbox. Use mounts instead."""
2626

2727
entrypoint: Optional[str]
2828
"""
@@ -35,7 +35,7 @@ class DevboxBaseCreateParams(TypedDict, total=False):
3535
"""(Optional) Environment variables used to configure your Devbox."""
3636

3737
file_mounts: Optional[Dict[str, str]]
38-
"""(Optional) Map of paths and file contents to write before setup.."""
38+
"""Map of paths and file contents to write before setup. Use mounts instead."""
3939

4040
launch_parameters: Optional[LaunchParameters]
4141
"""Parameters to configure the resources and launch time behavior of the Devbox."""

0 commit comments

Comments
 (0)