|
40 | 40 | benchmarks, |
41 | 41 | blueprints, |
42 | 42 | repositories, |
| 43 | + benchmark_jobs, |
43 | 44 | benchmark_runs, |
44 | 45 | network_policies, |
45 | 46 | ) |
|
49 | 50 | from .resources.benchmarks import BenchmarksResource, AsyncBenchmarksResource |
50 | 51 | from .resources.blueprints import BlueprintsResource, AsyncBlueprintsResource |
51 | 52 | from .resources.repositories import RepositoriesResource, AsyncRepositoriesResource |
| 53 | + from .resources.benchmark_jobs import BenchmarkJobsResource, AsyncBenchmarkJobsResource |
52 | 54 | from .resources.benchmark_runs import BenchmarkRunsResource, AsyncBenchmarkRunsResource |
53 | 55 | from .resources.network_policies import NetworkPoliciesResource, AsyncNetworkPoliciesResource |
54 | 56 | from .resources.devboxes.devboxes import DevboxesResource, AsyncDevboxesResource |
@@ -126,6 +128,12 @@ def benchmark_runs(self) -> BenchmarkRunsResource: |
126 | 128 |
|
127 | 129 | return BenchmarkRunsResource(self) |
128 | 130 |
|
| 131 | + @cached_property |
| 132 | + def benchmark_jobs(self) -> BenchmarkJobsResource: |
| 133 | + from .resources.benchmark_jobs import BenchmarkJobsResource |
| 134 | + |
| 135 | + return BenchmarkJobsResource(self) |
| 136 | + |
129 | 137 | @cached_property |
130 | 138 | def agents(self) -> AgentsResource: |
131 | 139 | from .resources.agents import AgentsResource |
@@ -356,6 +364,12 @@ def benchmark_runs(self) -> AsyncBenchmarkRunsResource: |
356 | 364 |
|
357 | 365 | return AsyncBenchmarkRunsResource(self) |
358 | 366 |
|
| 367 | + @cached_property |
| 368 | + def benchmark_jobs(self) -> AsyncBenchmarkJobsResource: |
| 369 | + from .resources.benchmark_jobs import AsyncBenchmarkJobsResource |
| 370 | + |
| 371 | + return AsyncBenchmarkJobsResource(self) |
| 372 | + |
359 | 373 | @cached_property |
360 | 374 | def agents(self) -> AsyncAgentsResource: |
361 | 375 | from .resources.agents import AsyncAgentsResource |
@@ -535,6 +549,12 @@ def benchmark_runs(self) -> benchmark_runs.BenchmarkRunsResourceWithRawResponse: |
535 | 549 |
|
536 | 550 | return BenchmarkRunsResourceWithRawResponse(self._client.benchmark_runs) |
537 | 551 |
|
| 552 | + @cached_property |
| 553 | + def benchmark_jobs(self) -> benchmark_jobs.BenchmarkJobsResourceWithRawResponse: |
| 554 | + from .resources.benchmark_jobs import BenchmarkJobsResourceWithRawResponse |
| 555 | + |
| 556 | + return BenchmarkJobsResourceWithRawResponse(self._client.benchmark_jobs) |
| 557 | + |
538 | 558 | @cached_property |
539 | 559 | def agents(self) -> agents.AgentsResourceWithRawResponse: |
540 | 560 | from .resources.agents import AgentsResourceWithRawResponse |
@@ -602,6 +622,12 @@ def benchmark_runs(self) -> benchmark_runs.AsyncBenchmarkRunsResourceWithRawResp |
602 | 622 |
|
603 | 623 | return AsyncBenchmarkRunsResourceWithRawResponse(self._client.benchmark_runs) |
604 | 624 |
|
| 625 | + @cached_property |
| 626 | + def benchmark_jobs(self) -> benchmark_jobs.AsyncBenchmarkJobsResourceWithRawResponse: |
| 627 | + from .resources.benchmark_jobs import AsyncBenchmarkJobsResourceWithRawResponse |
| 628 | + |
| 629 | + return AsyncBenchmarkJobsResourceWithRawResponse(self._client.benchmark_jobs) |
| 630 | + |
605 | 631 | @cached_property |
606 | 632 | def agents(self) -> agents.AsyncAgentsResourceWithRawResponse: |
607 | 633 | from .resources.agents import AsyncAgentsResourceWithRawResponse |
@@ -669,6 +695,12 @@ def benchmark_runs(self) -> benchmark_runs.BenchmarkRunsResourceWithStreamingRes |
669 | 695 |
|
670 | 696 | return BenchmarkRunsResourceWithStreamingResponse(self._client.benchmark_runs) |
671 | 697 |
|
| 698 | + @cached_property |
| 699 | + def benchmark_jobs(self) -> benchmark_jobs.BenchmarkJobsResourceWithStreamingResponse: |
| 700 | + from .resources.benchmark_jobs import BenchmarkJobsResourceWithStreamingResponse |
| 701 | + |
| 702 | + return BenchmarkJobsResourceWithStreamingResponse(self._client.benchmark_jobs) |
| 703 | + |
672 | 704 | @cached_property |
673 | 705 | def agents(self) -> agents.AgentsResourceWithStreamingResponse: |
674 | 706 | from .resources.agents import AgentsResourceWithStreamingResponse |
@@ -736,6 +768,12 @@ def benchmark_runs(self) -> benchmark_runs.AsyncBenchmarkRunsResourceWithStreami |
736 | 768 |
|
737 | 769 | return AsyncBenchmarkRunsResourceWithStreamingResponse(self._client.benchmark_runs) |
738 | 770 |
|
| 771 | + @cached_property |
| 772 | + def benchmark_jobs(self) -> benchmark_jobs.AsyncBenchmarkJobsResourceWithStreamingResponse: |
| 773 | + from .resources.benchmark_jobs import AsyncBenchmarkJobsResourceWithStreamingResponse |
| 774 | + |
| 775 | + return AsyncBenchmarkJobsResourceWithStreamingResponse(self._client.benchmark_jobs) |
| 776 | + |
739 | 777 | @cached_property |
740 | 778 | def agents(self) -> agents.AsyncAgentsResourceWithStreamingResponse: |
741 | 779 | from .resources.agents import AsyncAgentsResourceWithStreamingResponse |
|
0 commit comments