@@ -313,14 +313,18 @@ def create_and_await_build_complete(
313313 self ,
314314 * ,
315315 name : str ,
316- base_blueprint_id : Optional [str ] | NotGiven = NOT_GIVEN ,
317- code_mounts : Optional [Iterable [CodeMountParameters ]] | NotGiven = NOT_GIVEN ,
318- dockerfile : Optional [str ] | NotGiven = NOT_GIVEN ,
319- file_mounts : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
320- launch_parameters : Optional [LaunchParameters ] | NotGiven = NOT_GIVEN ,
316+ base_blueprint_id : Optional [str ] | Omit = omit ,
317+ base_blueprint_name : Optional [str ] | Omit = omit ,
318+ build_args : Optional [Dict [str , str ]] | Omit = omit ,
319+ code_mounts : Optional [Iterable [CodeMountParameters ]] | Omit = omit ,
320+ dockerfile : Optional [str ] | Omit = omit ,
321+ file_mounts : Optional [Dict [str , str ]] | Omit = omit ,
322+ launch_parameters : Optional [LaunchParameters ] | Omit = omit ,
323+ metadata : Optional [Dict [str , str ]] | Omit = omit ,
324+ secrets : Optional [Dict [str , str ]] | Omit = omit ,
325+ services : Optional [Iterable [blueprint_create_params .Service ]] | Omit = omit ,
326+ system_setup_commands : Optional [SequenceNotStr [str ]] | Omit = omit ,
321327 polling_config : PollingConfig | None = None ,
322- services : Optional [Iterable [blueprint_create_params .Service ]] | NotGiven = NOT_GIVEN ,
323- system_setup_commands : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
324328 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
325329 # The extra values given here take precedence over values defined on the client or passed to this method.
326330 extra_headers : Headers | None = None ,
@@ -348,10 +352,14 @@ def create_and_await_build_complete(
348352 blueprint = self .create (
349353 name = name ,
350354 base_blueprint_id = base_blueprint_id ,
355+ base_blueprint_name = base_blueprint_name ,
356+ build_args = build_args ,
351357 code_mounts = code_mounts ,
352358 dockerfile = dockerfile ,
353359 file_mounts = file_mounts ,
354360 launch_parameters = launch_parameters ,
361+ metadata = metadata ,
362+ secrets = secrets ,
355363 services = services ,
356364 system_setup_commands = system_setup_commands ,
357365 extra_headers = extra_headers ,
@@ -931,14 +939,18 @@ async def create_and_await_build_complete(
931939 self ,
932940 * ,
933941 name : str ,
934- base_blueprint_id : Optional [str ] | NotGiven = NOT_GIVEN ,
935- code_mounts : Optional [Iterable [CodeMountParameters ]] | NotGiven = NOT_GIVEN ,
936- dockerfile : Optional [str ] | NotGiven = NOT_GIVEN ,
937- file_mounts : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
938- launch_parameters : Optional [LaunchParameters ] | NotGiven = NOT_GIVEN ,
942+ base_blueprint_id : Optional [str ] | Omit = omit ,
943+ base_blueprint_name : Optional [str ] | Omit = omit ,
944+ build_args : Optional [Dict [str , str ]] | Omit = omit ,
945+ code_mounts : Optional [Iterable [CodeMountParameters ]] | Omit = omit ,
946+ dockerfile : Optional [str ] | Omit = omit ,
947+ file_mounts : Optional [Dict [str , str ]] | Omit = omit ,
948+ launch_parameters : Optional [LaunchParameters ] | Omit = omit ,
949+ metadata : Optional [Dict [str , str ]] | Omit = omit ,
950+ secrets : Optional [Dict [str , str ]] | Omit = omit ,
951+ services : Optional [Iterable [blueprint_create_params .Service ]] | Omit = omit ,
952+ system_setup_commands : Optional [SequenceNotStr [str ]] | Omit = omit ,
939953 polling_config : PollingConfig | None = None ,
940- services : Optional [Iterable [blueprint_create_params .Service ]] | NotGiven = NOT_GIVEN ,
941- system_setup_commands : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
942954 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
943955 # The extra values given here take precedence over values defined on the client or passed to this method.
944956 extra_headers : Headers | None = None ,
@@ -966,10 +978,14 @@ async def create_and_await_build_complete(
966978 blueprint = await self .create (
967979 name = name ,
968980 base_blueprint_id = base_blueprint_id ,
981+ base_blueprint_name = base_blueprint_name ,
982+ build_args = build_args ,
969983 code_mounts = code_mounts ,
970984 dockerfile = dockerfile ,
971985 file_mounts = file_mounts ,
972986 launch_parameters = launch_parameters ,
987+ metadata = metadata ,
988+ secrets = secrets ,
973989 services = services ,
974990 system_setup_commands = system_setup_commands ,
975991 extra_headers = extra_headers ,
0 commit comments