|
100 | 100 | from ...lib.polling_async import async_poll_until |
101 | 101 | from ...types.devbox_view import DevboxView |
102 | 102 | from ...types.devbox_tunnel_view import DevboxTunnelView |
| 103 | +from ...types.shared_params.mount import Mount |
103 | 104 | from ...types.devbox_snapshot_view import DevboxSnapshotView |
104 | 105 | from ...types.shared.launch_parameters import LaunchParameters as SharedLaunchParameters |
105 | 106 | from ...types.devbox_execution_detail_view import DevboxExecutionDetailView |
@@ -185,6 +186,7 @@ def create( |
185 | 186 | file_mounts: Optional[Dict[str, str]] | Omit = omit, |
186 | 187 | launch_parameters: Optional[LaunchParameters] | Omit = omit, |
187 | 188 | metadata: Optional[Dict[str, str]] | Omit = omit, |
| 189 | + mounts: Optional[Iterable[Mount]] | Omit = omit, |
188 | 190 | name: Optional[str] | Omit = omit, |
189 | 191 | repo_connection_id: Optional[str] | Omit = omit, |
190 | 192 | secrets: Optional[Dict[str, str]] | Omit = omit, |
@@ -228,6 +230,8 @@ def create( |
228 | 230 |
|
229 | 231 | metadata: User defined metadata to attach to the devbox for organization. |
230 | 232 |
|
| 233 | + mounts: A list of file system mounts to be included in the Devbox. |
| 234 | +
|
231 | 235 | name: (Optional) A user specified name to give the Devbox. |
232 | 236 |
|
233 | 237 | repo_connection_id: Repository connection id the devbox should source its base image from. |
@@ -262,6 +266,7 @@ def create( |
262 | 266 | "file_mounts": file_mounts, |
263 | 267 | "launch_parameters": launch_parameters, |
264 | 268 | "metadata": metadata, |
| 269 | + "mounts": mounts, |
265 | 270 | "name": name, |
266 | 271 | "repo_connection_id": repo_connection_id, |
267 | 272 | "secrets": secrets, |
@@ -740,7 +745,7 @@ def execute( |
740 | 745 | specified the command is run from the directory based on the recent state of the |
741 | 746 | persistent shell. |
742 | 747 |
|
743 | | - command_id: The command ID for idempotency and tracking |
| 748 | + command_id: The command ID in UUIDv7 string format for idempotency and tracking |
744 | 749 |
|
745 | 750 | optimistic_timeout: Timeout in seconds to wait for command completion. Operation is not killed. Max |
746 | 751 | is 600 seconds. |
@@ -1633,6 +1638,7 @@ async def create( |
1633 | 1638 | file_mounts: Optional[Dict[str, str]] | Omit = omit, |
1634 | 1639 | launch_parameters: Optional[LaunchParameters] | Omit = omit, |
1635 | 1640 | metadata: Optional[Dict[str, str]] | Omit = omit, |
| 1641 | + mounts: Optional[Iterable[Mount]] | Omit = omit, |
1636 | 1642 | name: Optional[str] | Omit = omit, |
1637 | 1643 | repo_connection_id: Optional[str] | Omit = omit, |
1638 | 1644 | secrets: Optional[Dict[str, str]] | Omit = omit, |
@@ -1676,6 +1682,8 @@ async def create( |
1676 | 1682 |
|
1677 | 1683 | metadata: User defined metadata to attach to the devbox for organization. |
1678 | 1684 |
|
| 1685 | + mounts: A list of file system mounts to be included in the Devbox. |
| 1686 | +
|
1679 | 1687 | name: (Optional) A user specified name to give the Devbox. |
1680 | 1688 |
|
1681 | 1689 | repo_connection_id: Repository connection id the devbox should source its base image from. |
@@ -1710,6 +1718,7 @@ async def create( |
1710 | 1718 | "file_mounts": file_mounts, |
1711 | 1719 | "launch_parameters": launch_parameters, |
1712 | 1720 | "metadata": metadata, |
| 1721 | + "mounts": mounts, |
1713 | 1722 | "name": name, |
1714 | 1723 | "repo_connection_id": repo_connection_id, |
1715 | 1724 | "secrets": secrets, |
@@ -2187,7 +2196,7 @@ async def execute( |
2187 | 2196 | specified the command is run from the directory based on the recent state of the |
2188 | 2197 | persistent shell. |
2189 | 2198 |
|
2190 | | - command_id: The command ID for idempotency and tracking |
| 2199 | + command_id: The command ID in UUIDv7 string format for idempotency and tracking |
2191 | 2200 |
|
2192 | 2201 | optimistic_timeout: Timeout in seconds to wait for command completion. Operation is not killed. Max |
2193 | 2202 | is 600 seconds. |
|
0 commit comments