|
28 | 28 | NetworkPolicyUpdateParams, |
29 | 29 | DevboxReadFileContentsParams, |
30 | 30 | DevboxWriteFileContentsParams, |
| 31 | + BenchmarkRunListScenarioRunsParams, |
31 | 32 | ) |
32 | 33 | from .._types import Body, Query, Headers, Timeout, NotGiven |
33 | 34 | from ..lib.polling import PollingConfig |
34 | 35 | from ..types.devboxes import DiskSnapshotListParams, DiskSnapshotUpdateParams |
35 | 36 | from ..types.scenarios import ScorerListParams, ScorerCreateParams, ScorerUpdateParams, ScorerValidateParams |
36 | | -from ..types.benchmarks import RunListScenarioRunsParams |
37 | 37 | from ..types.devbox_create_params import DevboxBaseCreateParams |
38 | 38 | from ..types.scenario_start_run_params import ScenarioStartRunBaseParams |
39 | 39 | from ..types.benchmark_start_run_params import BenchmarkSelfStartRunParams |
40 | | -from ..types.benchmarks.run_list_params import RunSelfListParams |
41 | 40 | from ..types.devbox_execute_async_params import DevboxNiceExecuteAsyncParams |
42 | 41 |
|
43 | 42 | LogCallback = Callable[[str], None] |
@@ -233,11 +232,18 @@ class SDKBenchmarkStartRunParams(BenchmarkSelfStartRunParams, LongRequestOptions |
233 | 232 | pass |
234 | 233 |
|
235 | 234 |
|
236 | | -class SDKBenchmarkListRunsParams(RunSelfListParams, BaseRequestOptions): |
237 | | - pass |
| 235 | +class SDKBenchmarkListRunsParams(BaseRequestOptions, total=False): |
| 236 | + limit: int |
| 237 | + """The limit of items to return. Default is 20. Max is 5000.""" |
| 238 | + |
| 239 | + name: str |
| 240 | + """Filter by name""" |
| 241 | + |
| 242 | + starting_after: str |
| 243 | + """Load the next page of data starting after the item with the given ID.""" |
238 | 244 |
|
239 | 245 |
|
240 | | -class SDKBenchmarkRunListScenarioRunsParams(RunListScenarioRunsParams, BaseRequestOptions): |
| 246 | +class SDKBenchmarkRunListScenarioRunsParams(BenchmarkRunListScenarioRunsParams, BaseRequestOptions): |
241 | 247 | pass |
242 | 248 |
|
243 | 249 |
|
|
0 commit comments