From b788c5d4d8511ea64fb68eed886208e1c29041fe Mon Sep 17 00:00:00 2001 From: Tony Deng Date: Tue, 11 Nov 2025 08:37:04 -0800 Subject: [PATCH] add missing args to blueprints helper --- .../resources/blueprints.py | 44 +++++++++++++------ 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/src/runloop_api_client/resources/blueprints.py b/src/runloop_api_client/resources/blueprints.py index 4bb8cbace..1bbd8d4b7 100644 --- a/src/runloop_api_client/resources/blueprints.py +++ b/src/runloop_api_client/resources/blueprints.py @@ -313,14 +313,18 @@ def create_and_await_build_complete( self, *, name: str, - base_blueprint_id: Optional[str] | NotGiven = NOT_GIVEN, - code_mounts: Optional[Iterable[CodeMountParameters]] | NotGiven = NOT_GIVEN, - dockerfile: Optional[str] | NotGiven = NOT_GIVEN, - file_mounts: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, - launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN, + base_blueprint_id: Optional[str] | Omit = omit, + base_blueprint_name: Optional[str] | Omit = omit, + build_args: Optional[Dict[str, str]] | Omit = omit, + code_mounts: Optional[Iterable[CodeMountParameters]] | Omit = omit, + dockerfile: Optional[str] | Omit = omit, + file_mounts: Optional[Dict[str, str]] | Omit = omit, + launch_parameters: Optional[LaunchParameters] | Omit = omit, + metadata: Optional[Dict[str, str]] | Omit = omit, + secrets: Optional[Dict[str, str]] | Omit = omit, + services: Optional[Iterable[blueprint_create_params.Service]] | Omit = omit, + system_setup_commands: Optional[SequenceNotStr[str]] | Omit = omit, polling_config: PollingConfig | None = None, - services: Optional[Iterable[blueprint_create_params.Service]] | NotGiven = NOT_GIVEN, - system_setup_commands: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -348,10 +352,14 @@ def create_and_await_build_complete( blueprint = self.create( name=name, base_blueprint_id=base_blueprint_id, + base_blueprint_name=base_blueprint_name, + build_args=build_args, code_mounts=code_mounts, dockerfile=dockerfile, file_mounts=file_mounts, launch_parameters=launch_parameters, + metadata=metadata, + secrets=secrets, services=services, system_setup_commands=system_setup_commands, extra_headers=extra_headers, @@ -931,14 +939,18 @@ async def create_and_await_build_complete( self, *, name: str, - base_blueprint_id: Optional[str] | NotGiven = NOT_GIVEN, - code_mounts: Optional[Iterable[CodeMountParameters]] | NotGiven = NOT_GIVEN, - dockerfile: Optional[str] | NotGiven = NOT_GIVEN, - file_mounts: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN, - launch_parameters: Optional[LaunchParameters] | NotGiven = NOT_GIVEN, + base_blueprint_id: Optional[str] | Omit = omit, + base_blueprint_name: Optional[str] | Omit = omit, + build_args: Optional[Dict[str, str]] | Omit = omit, + code_mounts: Optional[Iterable[CodeMountParameters]] | Omit = omit, + dockerfile: Optional[str] | Omit = omit, + file_mounts: Optional[Dict[str, str]] | Omit = omit, + launch_parameters: Optional[LaunchParameters] | Omit = omit, + metadata: Optional[Dict[str, str]] | Omit = omit, + secrets: Optional[Dict[str, str]] | Omit = omit, + services: Optional[Iterable[blueprint_create_params.Service]] | Omit = omit, + system_setup_commands: Optional[SequenceNotStr[str]] | Omit = omit, polling_config: PollingConfig | None = None, - services: Optional[Iterable[blueprint_create_params.Service]] | NotGiven = NOT_GIVEN, - system_setup_commands: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -966,10 +978,14 @@ async def create_and_await_build_complete( blueprint = await self.create( name=name, base_blueprint_id=base_blueprint_id, + base_blueprint_name=base_blueprint_name, + build_args=build_args, code_mounts=code_mounts, dockerfile=dockerfile, file_mounts=file_mounts, launch_parameters=launch_parameters, + metadata=metadata, + secrets=secrets, services=services, system_setup_commands=system_setup_commands, extra_headers=extra_headers,