Skip to content

Commit 9cbadb9

Browse files
committed
cp
1 parent 280d3c7 commit 9cbadb9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/runloop_api_client/resources/scenarios/scenarios.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def start_run_and_await_env_ready(
422422
*,
423423
scenario_id: str,
424424
benchmark_run_id: Optional[str] | NotGiven = NOT_GIVEN,
425+
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
425426
run_name: Optional[str] | NotGiven = NOT_GIVEN,
426427
polling_config: PollingConfig | None = None,
427428
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -455,6 +456,7 @@ def start_run_and_await_env_ready(
455456
run = self.start_run(
456457
scenario_id=scenario_id,
457458
benchmark_run_id=benchmark_run_id,
459+
metadata=metadata,
458460
run_name=run_name,
459461
extra_headers=extra_headers,
460462
extra_query=extra_query,
@@ -842,6 +844,7 @@ async def start_run_and_await_env_ready(
842844
self,
843845
scenario_id: str,
844846
benchmark_run_id: Optional[str] | NotGiven = NOT_GIVEN,
847+
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
845848
run_name: Optional[str] | NotGiven = NOT_GIVEN,
846849
polling_config: PollingConfig | None = None,
847850
) -> ScenarioRunView:
@@ -863,6 +866,7 @@ async def start_run_and_await_env_ready(
863866
run = await self.start_run(
864867
scenario_id=scenario_id,
865868
benchmark_run_id=benchmark_run_id,
869+
metadata=metadata,
866870
run_name=run_name,
867871
)
868872

0 commit comments

Comments
 (0)