runloop-api-client 0.1.0a7__tar.gz → 0.1.0a8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. runloop_api_client-0.1.0a8/.release-please-manifest.json +3 -0
  2. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/CHANGELOG.md +13 -0
  3. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/PKG-INFO +1 -1
  4. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/pyproject.toml +1 -1
  5. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_version.py +1 -1
  6. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/blueprints.py +17 -1
  7. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/devboxes/devboxes.py +8 -0
  8. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_build_parameters.py +4 -1
  9. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_create_params.py +4 -1
  10. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_preview_params.py +4 -1
  11. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_create_params.py +3 -0
  12. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/test_blueprints.py +4 -0
  13. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/test_devboxes.py +2 -0
  14. runloop_api_client-0.1.0a7/.release-please-manifest.json +0 -3
  15. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/.gitignore +0 -0
  16. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/CONTRIBUTING.md +0 -0
  17. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/LICENSE +0 -0
  18. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/README.md +0 -0
  19. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/SECURITY.md +0 -0
  20. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/api.md +0 -0
  21. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/bin/check-release-environment +0 -0
  22. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/bin/publish-pypi +0 -0
  23. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/examples/.keep +0 -0
  24. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/mypy.ini +0 -0
  25. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/noxfile.py +0 -0
  26. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/release-please-config.json +0 -0
  27. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/requirements-dev.lock +0 -0
  28. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/requirements.lock +0 -0
  29. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop/lib/.keep +0 -0
  30. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/__init__.py +0 -0
  31. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_base_client.py +0 -0
  32. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_client.py +0 -0
  33. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_compat.py +0 -0
  34. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_constants.py +0 -0
  35. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_exceptions.py +0 -0
  36. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_files.py +0 -0
  37. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_models.py +0 -0
  38. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_qs.py +0 -0
  39. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_resource.py +0 -0
  40. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_response.py +0 -0
  41. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_streaming.py +0 -0
  42. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_types.py +0 -0
  43. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/__init__.py +0 -0
  44. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_logs.py +0 -0
  45. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_proxy.py +0 -0
  46. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_reflection.py +0 -0
  47. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_streams.py +0 -0
  48. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_sync.py +0 -0
  49. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_transform.py +0 -0
  50. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_typing.py +0 -0
  51. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/_utils/_utils.py +0 -0
  52. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/lib/.keep +0 -0
  53. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/py.typed +0 -0
  54. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/__init__.py +0 -0
  55. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
  56. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
  57. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/functions/__init__.py +0 -0
  58. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/functions/functions.py +0 -0
  59. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/functions/invocations/__init__.py +0 -0
  60. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/functions/invocations/invocations.py +0 -0
  61. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/projects/__init__.py +0 -0
  62. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/projects/logs.py +0 -0
  63. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/resources/projects/projects.py +0 -0
  64. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/__init__.py +0 -0
  65. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
  66. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
  67. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
  68. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
  69. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
  70. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/blueprint_view.py +0 -0
  71. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/code_mount_parameters.py +0 -0
  72. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/code_mount_parameters_param.py +0 -0
  73. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
  74. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
  75. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_list_params.py +0 -0
  76. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_list_view.py +0 -0
  77. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devbox_view.py +0 -0
  78. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
  79. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
  80. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/function_invoke_async_params.py +0 -0
  81. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/function_invoke_async_response.py +0 -0
  82. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/function_invoke_sync_params.py +0 -0
  83. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/function_invoke_sync_response.py +0 -0
  84. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/function_list_view.py +0 -0
  85. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/functions/__init__.py +0 -0
  86. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/functions/function_invocation_list_view.py +0 -0
  87. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/functions/invocation_list_params.py +0 -0
  88. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/functions/invocation_retrieve_response.py +0 -0
  89. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/functions/invocations/__init__.py +0 -0
  90. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/project_list_view.py +0 -0
  91. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/projects/__init__.py +0 -0
  92. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/resource_size.py +0 -0
  93. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/shared/__init__.py +0 -0
  94. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/src/runloop_api_client/types/shared/project_logs_view.py +0 -0
  95. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/__init__.py +0 -0
  96. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/__init__.py +0 -0
  97. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/devboxes/__init__.py +0 -0
  98. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/devboxes/test_logs.py +0 -0
  99. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/functions/__init__.py +0 -0
  100. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/functions/invocations/__init__.py +0 -0
  101. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/functions/test_invocations.py +0 -0
  102. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/projects/__init__.py +0 -0
  103. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/projects/test_logs.py +0 -0
  104. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/test_functions.py +0 -0
  105. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/api_resources/test_projects.py +0 -0
  106. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/conftest.py +0 -0
  107. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/sample_file.txt +0 -0
  108. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_client.py +0 -0
  109. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_deepcopy.py +0 -0
  110. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_extract_files.py +0 -0
  111. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_files.py +0 -0
  112. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_models.py +0 -0
  113. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_qs.py +0 -0
  114. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_required_args.py +0 -0
  115. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_response.py +0 -0
  116. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_streaming.py +0 -0
  117. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_transform.py +0 -0
  118. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_utils/test_proxy.py +0 -0
  119. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/test_utils/test_typing.py +0 -0
  120. {runloop_api_client-0.1.0a7 → runloop_api_client-0.1.0a8}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.0-alpha.8"
3
+ }
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
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
+
3
16
  ## 0.1.0-alpha.7 (2024-07-30)
4
17
 
5
18
  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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: runloop_api_client
3
- Version: 0.1.0a7
3
+ Version: 0.1.0a8
4
4
  Summary: The official Python library for the runloop API
5
5
  Project-URL: Homepage, https://github.com/runloopai/api-client-python
6
6
  Project-URL: Repository, https://github.com/runloopai/api-client-python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runloop_api_client"
3
- version = "0.1.0-alpha.7"
3
+ version = "0.1.0-alpha.8"
4
4
  description = "The official Python library for the runloop API"
5
5
  dynamic = ["readme"]
6
6
  license = "MIT"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __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
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Dict, List, Iterable
6
6
 
7
7
  import httpx
8
8
 
@@ -44,6 +44,7 @@ class BlueprintsResource(SyncAPIResource):
44
44
  *,
45
45
  code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
46
46
  dockerfile: str | NotGiven = NOT_GIVEN,
47
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
47
48
  launch_parameters: blueprint_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
48
49
  name: str | NotGiven = NOT_GIVEN,
49
50
  system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -65,6 +66,8 @@ class BlueprintsResource(SyncAPIResource):
65
66
 
66
67
  dockerfile: Dockerfile contents to be used to build the Blueprint.
67
68
 
69
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
70
+
68
71
  launch_parameters: Parameters to configure your Devbox at launch time.
69
72
 
70
73
  name: Name of the Blueprint.
@@ -85,6 +88,7 @@ class BlueprintsResource(SyncAPIResource):
85
88
  {
86
89
  "code_mounts": code_mounts,
87
90
  "dockerfile": dockerfile,
91
+ "file_mounts": file_mounts,
88
92
  "launch_parameters": launch_parameters,
89
93
  "name": name,
90
94
  "system_setup_commands": system_setup_commands,
@@ -220,6 +224,7 @@ class BlueprintsResource(SyncAPIResource):
220
224
  *,
221
225
  code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
222
226
  dockerfile: str | NotGiven = NOT_GIVEN,
227
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
223
228
  launch_parameters: blueprint_preview_params.LaunchParameters | NotGiven = NOT_GIVEN,
224
229
  name: str | NotGiven = NOT_GIVEN,
225
230
  system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -240,6 +245,8 @@ class BlueprintsResource(SyncAPIResource):
240
245
 
241
246
  dockerfile: Dockerfile contents to be used to build the Blueprint.
242
247
 
248
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
249
+
243
250
  launch_parameters: Parameters to configure your Devbox at launch time.
244
251
 
245
252
  name: Name of the Blueprint.
@@ -260,6 +267,7 @@ class BlueprintsResource(SyncAPIResource):
260
267
  {
261
268
  "code_mounts": code_mounts,
262
269
  "dockerfile": dockerfile,
270
+ "file_mounts": file_mounts,
263
271
  "launch_parameters": launch_parameters,
264
272
  "name": name,
265
273
  "system_setup_commands": system_setup_commands,
@@ -287,6 +295,7 @@ class AsyncBlueprintsResource(AsyncAPIResource):
287
295
  *,
288
296
  code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
289
297
  dockerfile: str | NotGiven = NOT_GIVEN,
298
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
290
299
  launch_parameters: blueprint_create_params.LaunchParameters | NotGiven = NOT_GIVEN,
291
300
  name: str | NotGiven = NOT_GIVEN,
292
301
  system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -308,6 +317,8 @@ class AsyncBlueprintsResource(AsyncAPIResource):
308
317
 
309
318
  dockerfile: Dockerfile contents to be used to build the Blueprint.
310
319
 
320
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
321
+
311
322
  launch_parameters: Parameters to configure your Devbox at launch time.
312
323
 
313
324
  name: Name of the Blueprint.
@@ -328,6 +339,7 @@ class AsyncBlueprintsResource(AsyncAPIResource):
328
339
  {
329
340
  "code_mounts": code_mounts,
330
341
  "dockerfile": dockerfile,
342
+ "file_mounts": file_mounts,
331
343
  "launch_parameters": launch_parameters,
332
344
  "name": name,
333
345
  "system_setup_commands": system_setup_commands,
@@ -463,6 +475,7 @@ class AsyncBlueprintsResource(AsyncAPIResource):
463
475
  *,
464
476
  code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
465
477
  dockerfile: str | NotGiven = NOT_GIVEN,
478
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
466
479
  launch_parameters: blueprint_preview_params.LaunchParameters | NotGiven = NOT_GIVEN,
467
480
  name: str | NotGiven = NOT_GIVEN,
468
481
  system_setup_commands: List[str] | NotGiven = NOT_GIVEN,
@@ -483,6 +496,8 @@ class AsyncBlueprintsResource(AsyncAPIResource):
483
496
 
484
497
  dockerfile: Dockerfile contents to be used to build the Blueprint.
485
498
 
499
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
500
+
486
501
  launch_parameters: Parameters to configure your Devbox at launch time.
487
502
 
488
503
  name: Name of the Blueprint.
@@ -503,6 +518,7 @@ class AsyncBlueprintsResource(AsyncAPIResource):
503
518
  {
504
519
  "code_mounts": code_mounts,
505
520
  "dockerfile": dockerfile,
521
+ "file_mounts": file_mounts,
506
522
  "launch_parameters": launch_parameters,
507
523
  "name": name,
508
524
  "system_setup_commands": system_setup_commands,
@@ -57,6 +57,7 @@ class DevboxesResource(SyncAPIResource):
57
57
  code_handle: str | NotGiven = NOT_GIVEN,
58
58
  entrypoint: str | NotGiven = NOT_GIVEN,
59
59
  environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
60
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
60
61
  name: str | NotGiven = NOT_GIVEN,
61
62
  setup_commands: List[str] | NotGiven = NOT_GIVEN,
62
63
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -86,6 +87,8 @@ class DevboxesResource(SyncAPIResource):
86
87
 
87
88
  environment_variables: (Optional) Environment variables used to configure your Devbox.
88
89
 
90
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
91
+
89
92
  name: (Optional) A user specified name to give the Devbox.
90
93
 
91
94
  setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
@@ -109,6 +112,7 @@ class DevboxesResource(SyncAPIResource):
109
112
  "code_handle": code_handle,
110
113
  "entrypoint": entrypoint,
111
114
  "environment_variables": environment_variables,
115
+ "file_mounts": file_mounts,
112
116
  "name": name,
113
117
  "setup_commands": setup_commands,
114
118
  },
@@ -299,6 +303,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
299
303
  code_handle: str | NotGiven = NOT_GIVEN,
300
304
  entrypoint: str | NotGiven = NOT_GIVEN,
301
305
  environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
306
+ file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
302
307
  name: str | NotGiven = NOT_GIVEN,
303
308
  setup_commands: List[str] | NotGiven = NOT_GIVEN,
304
309
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -328,6 +333,8 @@ class AsyncDevboxesResource(AsyncAPIResource):
328
333
 
329
334
  environment_variables: (Optional) Environment variables used to configure your Devbox.
330
335
 
336
+ file_mounts: (Optional) Map of paths and file contents to write before setup..
337
+
331
338
  name: (Optional) A user specified name to give the Devbox.
332
339
 
333
340
  setup_commands: (Optional) List of commands needed to set up your Devbox. Examples might include
@@ -351,6 +358,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
351
358
  "code_handle": code_handle,
352
359
  "entrypoint": entrypoint,
353
360
  "environment_variables": environment_variables,
361
+ "file_mounts": file_mounts,
354
362
  "name": name,
355
363
  "setup_commands": setup_commands,
356
364
  },
@@ -1,6 +1,6 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from typing import List, Optional
3
+ from typing import Dict, List, Optional
4
4
 
5
5
  from .._models import BaseModel
6
6
  from .resource_size import ResourceSize
@@ -24,6 +24,9 @@ class BlueprintBuildParameters(BaseModel):
24
24
  dockerfile: Optional[str] = None
25
25
  """Dockerfile contents to be used to build the Blueprint."""
26
26
 
27
+ file_mounts: Optional[Dict[str, str]] = None
28
+ """(Optional) Map of paths and file contents to write before setup.."""
29
+
27
30
  launch_parameters: Optional[LaunchParameters] = None
28
31
  """Parameters to configure your Devbox at launch time."""
29
32
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Dict, List, Iterable
6
6
  from typing_extensions import TypedDict
7
7
 
8
8
  from .resource_size import ResourceSize
@@ -18,6 +18,9 @@ class BlueprintCreateParams(TypedDict, total=False):
18
18
  dockerfile: str
19
19
  """Dockerfile contents to be used to build the Blueprint."""
20
20
 
21
+ file_mounts: Dict[str, str]
22
+ """(Optional) Map of paths and file contents to write before setup.."""
23
+
21
24
  launch_parameters: LaunchParameters
22
25
  """Parameters to configure your Devbox at launch time."""
23
26
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Dict, List, Iterable
6
6
  from typing_extensions import TypedDict
7
7
 
8
8
  from .resource_size import ResourceSize
@@ -18,6 +18,9 @@ class BlueprintPreviewParams(TypedDict, total=False):
18
18
  dockerfile: str
19
19
  """Dockerfile contents to be used to build the Blueprint."""
20
20
 
21
+ file_mounts: Dict[str, str]
22
+ """(Optional) Map of paths and file contents to write before setup.."""
23
+
21
24
  launch_parameters: LaunchParameters
22
25
  """Parameters to configure your Devbox at launch time."""
23
26
 
@@ -35,6 +35,9 @@ class DevboxCreateParams(TypedDict, total=False):
35
35
  environment_variables: Dict[str, str]
36
36
  """(Optional) Environment variables used to configure your Devbox."""
37
37
 
38
+ file_mounts: Dict[str, str]
39
+ """(Optional) Map of paths and file contents to write before setup.."""
40
+
38
41
  name: str
39
42
  """(Optional) A user specified name to give the Devbox."""
40
43
 
@@ -51,6 +51,7 @@ class TestBlueprints:
51
51
  },
52
52
  ],
53
53
  dockerfile="dockerfile",
54
+ file_mounts={"foo": "string"},
54
55
  launch_parameters={
55
56
  "launch_commands": ["string", "string", "string"],
56
57
  "resource_size_request": "MINI",
@@ -219,6 +220,7 @@ class TestBlueprints:
219
220
  },
220
221
  ],
221
222
  dockerfile="dockerfile",
223
+ file_mounts={"foo": "string"},
222
224
  launch_parameters={
223
225
  "launch_commands": ["string", "string", "string"],
224
226
  "resource_size_request": "MINI",
@@ -281,6 +283,7 @@ class TestAsyncBlueprints:
281
283
  },
282
284
  ],
283
285
  dockerfile="dockerfile",
286
+ file_mounts={"foo": "string"},
284
287
  launch_parameters={
285
288
  "launch_commands": ["string", "string", "string"],
286
289
  "resource_size_request": "MINI",
@@ -449,6 +452,7 @@ class TestAsyncBlueprints:
449
452
  },
450
453
  ],
451
454
  dockerfile="dockerfile",
455
+ file_mounts={"foo": "string"},
452
456
  launch_parameters={
453
457
  "launch_commands": ["string", "string", "string"],
454
458
  "resource_size_request": "MINI",
@@ -34,6 +34,7 @@ class TestDevboxes:
34
34
  code_handle="code_handle",
35
35
  entrypoint="entrypoint",
36
36
  environment_variables={"foo": "string"},
37
+ file_mounts={"foo": "string"},
37
38
  name="name",
38
39
  setup_commands=["string", "string", "string"],
39
40
  )
@@ -232,6 +233,7 @@ class TestAsyncDevboxes:
232
233
  code_handle="code_handle",
233
234
  entrypoint="entrypoint",
234
235
  environment_variables={"foo": "string"},
236
+ file_mounts={"foo": "string"},
235
237
  name="name",
236
238
  setup_commands=["string", "string", "string"],
237
239
  )
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.0-alpha.7"
3
- }