|
40 | 40 | benchmarks, |
41 | 41 | blueprints, |
42 | 42 | repositories, |
| 43 | + benchmark_runs, |
43 | 44 | network_policies, |
44 | 45 | ) |
45 | 46 | from .resources.agents import AgentsResource, AsyncAgentsResource |
46 | 47 | from .resources.objects import ObjectsResource, AsyncObjectsResource |
47 | 48 | from .resources.secrets import SecretsResource, AsyncSecretsResource |
48 | 49 | from .resources.blueprints import BlueprintsResource, AsyncBlueprintsResource |
49 | 50 | from .resources.repositories import RepositoriesResource, AsyncRepositoriesResource |
| 51 | + from .resources.benchmark_runs import BenchmarkRunsResource, AsyncBenchmarkRunsResource |
50 | 52 | from .resources.network_policies import NetworkPoliciesResource, AsyncNetworkPoliciesResource |
51 | 53 | from .resources.devboxes.devboxes import DevboxesResource, AsyncDevboxesResource |
52 | 54 | from .resources.scenarios.scenarios import ScenariosResource, AsyncScenariosResource |
@@ -118,6 +120,12 @@ def benchmarks(self) -> BenchmarksResource: |
118 | 120 |
|
119 | 121 | return BenchmarksResource(self) |
120 | 122 |
|
| 123 | + @cached_property |
| 124 | + def benchmark_runs(self) -> BenchmarkRunsResource: |
| 125 | + from .resources.benchmark_runs import BenchmarkRunsResource |
| 126 | + |
| 127 | + return BenchmarkRunsResource(self) |
| 128 | + |
121 | 129 | @cached_property |
122 | 130 | def agents(self) -> AgentsResource: |
123 | 131 | from .resources.agents import AgentsResource |
@@ -342,6 +350,12 @@ def benchmarks(self) -> AsyncBenchmarksResource: |
342 | 350 |
|
343 | 351 | return AsyncBenchmarksResource(self) |
344 | 352 |
|
| 353 | + @cached_property |
| 354 | + def benchmark_runs(self) -> AsyncBenchmarkRunsResource: |
| 355 | + from .resources.benchmark_runs import AsyncBenchmarkRunsResource |
| 356 | + |
| 357 | + return AsyncBenchmarkRunsResource(self) |
| 358 | + |
345 | 359 | @cached_property |
346 | 360 | def agents(self) -> AsyncAgentsResource: |
347 | 361 | from .resources.agents import AsyncAgentsResource |
@@ -515,6 +529,12 @@ def benchmarks(self) -> benchmarks.BenchmarksResourceWithRawResponse: |
515 | 529 |
|
516 | 530 | return BenchmarksResourceWithRawResponse(self._client.benchmarks) |
517 | 531 |
|
| 532 | + @cached_property |
| 533 | + def benchmark_runs(self) -> benchmark_runs.BenchmarkRunsResourceWithRawResponse: |
| 534 | + from .resources.benchmark_runs import BenchmarkRunsResourceWithRawResponse |
| 535 | + |
| 536 | + return BenchmarkRunsResourceWithRawResponse(self._client.benchmark_runs) |
| 537 | + |
518 | 538 | @cached_property |
519 | 539 | def agents(self) -> agents.AgentsResourceWithRawResponse: |
520 | 540 | from .resources.agents import AgentsResourceWithRawResponse |
@@ -576,6 +596,12 @@ def benchmarks(self) -> benchmarks.AsyncBenchmarksResourceWithRawResponse: |
576 | 596 |
|
577 | 597 | return AsyncBenchmarksResourceWithRawResponse(self._client.benchmarks) |
578 | 598 |
|
| 599 | + @cached_property |
| 600 | + def benchmark_runs(self) -> benchmark_runs.AsyncBenchmarkRunsResourceWithRawResponse: |
| 601 | + from .resources.benchmark_runs import AsyncBenchmarkRunsResourceWithRawResponse |
| 602 | + |
| 603 | + return AsyncBenchmarkRunsResourceWithRawResponse(self._client.benchmark_runs) |
| 604 | + |
579 | 605 | @cached_property |
580 | 606 | def agents(self) -> agents.AsyncAgentsResourceWithRawResponse: |
581 | 607 | from .resources.agents import AsyncAgentsResourceWithRawResponse |
@@ -637,6 +663,12 @@ def benchmarks(self) -> benchmarks.BenchmarksResourceWithStreamingResponse: |
637 | 663 |
|
638 | 664 | return BenchmarksResourceWithStreamingResponse(self._client.benchmarks) |
639 | 665 |
|
| 666 | + @cached_property |
| 667 | + def benchmark_runs(self) -> benchmark_runs.BenchmarkRunsResourceWithStreamingResponse: |
| 668 | + from .resources.benchmark_runs import BenchmarkRunsResourceWithStreamingResponse |
| 669 | + |
| 670 | + return BenchmarkRunsResourceWithStreamingResponse(self._client.benchmark_runs) |
| 671 | + |
640 | 672 | @cached_property |
641 | 673 | def agents(self) -> agents.AgentsResourceWithStreamingResponse: |
642 | 674 | from .resources.agents import AgentsResourceWithStreamingResponse |
@@ -698,6 +730,12 @@ def benchmarks(self) -> benchmarks.AsyncBenchmarksResourceWithStreamingResponse: |
698 | 730 |
|
699 | 731 | return AsyncBenchmarksResourceWithStreamingResponse(self._client.benchmarks) |
700 | 732 |
|
| 733 | + @cached_property |
| 734 | + def benchmark_runs(self) -> benchmark_runs.AsyncBenchmarkRunsResourceWithStreamingResponse: |
| 735 | + from .resources.benchmark_runs import AsyncBenchmarkRunsResourceWithStreamingResponse |
| 736 | + |
| 737 | + return AsyncBenchmarkRunsResourceWithStreamingResponse(self._client.benchmark_runs) |
| 738 | + |
701 | 739 | @cached_property |
702 | 740 | def agents(self) -> agents.AsyncAgentsResourceWithStreamingResponse: |
703 | 741 | from .resources.agents import AsyncAgentsResourceWithStreamingResponse |
|
0 commit comments