@@ -71,6 +71,7 @@ def create(
7171 name : str ,
7272 metadata : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
7373 required_environment_variables : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
74+ required_secrets : List [str ] | NotGiven = NOT_GIVEN ,
7475 scenario_ids : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
7576 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
7677 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -88,8 +89,12 @@ def create(
8889
8990 metadata: User defined metadata to attach to the benchmark for organization.
9091
91- required_environment_variables: Environment variables required to run the benchmark. If these variables are not
92- supplied, the benchmark will fail to start
92+ required_environment_variables: Environment variables required to run the benchmark. If any required variables
93+ are not supplied, the benchmark will fail to start
94+
95+ required_secrets: Secrets required to run the benchmark with (user secret name will be mapped to
96+ benchmark required secret name). If any of these secrets are not provided or the
97+ mapping is incorrect, the benchmark will fail to start.
9398
9499 scenario_ids: The Scenario IDs that make up the Benchmark.
95100
@@ -110,6 +115,7 @@ def create(
110115 "name" : name ,
111116 "metadata" : metadata ,
112117 "required_environment_variables" : required_environment_variables ,
118+ "required_secrets" : required_secrets ,
113119 "scenario_ids" : scenario_ids ,
114120 },
115121 benchmark_create_params .BenchmarkCreateParams ,
@@ -164,6 +170,7 @@ def update(
164170 name : str ,
165171 metadata : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
166172 required_environment_variables : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
173+ required_secrets : List [str ] | NotGiven = NOT_GIVEN ,
167174 scenario_ids : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
168175 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
169176 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -181,8 +188,12 @@ def update(
181188
182189 metadata: User defined metadata to attach to the benchmark for organization.
183190
184- required_environment_variables: Environment variables required to run the benchmark. If these variables are not
185- supplied, the benchmark will fail to start
191+ required_environment_variables: Environment variables required to run the benchmark. If any required variables
192+ are not supplied, the benchmark will fail to start
193+
194+ required_secrets: Secrets required to run the benchmark with (user secret name will be mapped to
195+ benchmark required secret name). If any of these secrets are not provided or the
196+ mapping is incorrect, the benchmark will fail to start.
186197
187198 scenario_ids: The Scenario IDs that make up the Benchmark.
188199
@@ -205,6 +216,7 @@ def update(
205216 "name" : name ,
206217 "metadata" : metadata ,
207218 "required_environment_variables" : required_environment_variables ,
219+ "required_secrets" : required_secrets ,
208220 "scenario_ids" : scenario_ids ,
209221 },
210222 benchmark_update_params .BenchmarkUpdateParams ,
@@ -451,6 +463,7 @@ async def create(
451463 name : str ,
452464 metadata : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
453465 required_environment_variables : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
466+ required_secrets : List [str ] | NotGiven = NOT_GIVEN ,
454467 scenario_ids : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
455468 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
456469 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -468,8 +481,12 @@ async def create(
468481
469482 metadata: User defined metadata to attach to the benchmark for organization.
470483
471- required_environment_variables: Environment variables required to run the benchmark. If these variables are not
472- supplied, the benchmark will fail to start
484+ required_environment_variables: Environment variables required to run the benchmark. If any required variables
485+ are not supplied, the benchmark will fail to start
486+
487+ required_secrets: Secrets required to run the benchmark with (user secret name will be mapped to
488+ benchmark required secret name). If any of these secrets are not provided or the
489+ mapping is incorrect, the benchmark will fail to start.
473490
474491 scenario_ids: The Scenario IDs that make up the Benchmark.
475492
@@ -490,6 +507,7 @@ async def create(
490507 "name" : name ,
491508 "metadata" : metadata ,
492509 "required_environment_variables" : required_environment_variables ,
510+ "required_secrets" : required_secrets ,
493511 "scenario_ids" : scenario_ids ,
494512 },
495513 benchmark_create_params .BenchmarkCreateParams ,
@@ -544,6 +562,7 @@ async def update(
544562 name : str ,
545563 metadata : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
546564 required_environment_variables : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
565+ required_secrets : List [str ] | NotGiven = NOT_GIVEN ,
547566 scenario_ids : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
548567 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
549568 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -561,8 +580,12 @@ async def update(
561580
562581 metadata: User defined metadata to attach to the benchmark for organization.
563582
564- required_environment_variables: Environment variables required to run the benchmark. If these variables are not
565- supplied, the benchmark will fail to start
583+ required_environment_variables: Environment variables required to run the benchmark. If any required variables
584+ are not supplied, the benchmark will fail to start
585+
586+ required_secrets: Secrets required to run the benchmark with (user secret name will be mapped to
587+ benchmark required secret name). If any of these secrets are not provided or the
588+ mapping is incorrect, the benchmark will fail to start.
566589
567590 scenario_ids: The Scenario IDs that make up the Benchmark.
568591
@@ -585,6 +608,7 @@ async def update(
585608 "name" : name ,
586609 "metadata" : metadata ,
587610 "required_environment_variables" : required_environment_variables ,
611+ "required_secrets" : required_secrets ,
588612 "scenario_ids" : scenario_ids ,
589613 },
590614 benchmark_update_params .BenchmarkUpdateParams ,
0 commit comments