22
33from __future__ import annotations
44
5- from typing import List , Iterable
5+ from typing import Dict , List , Iterable
66
77import 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 ,
0 commit comments