|
43 | 43 | inspect,
|
44 | 44 | scoring,
|
45 | 45 | shields,
|
46 |
| - datasets, |
47 | 46 | providers,
|
48 | 47 | responses,
|
49 | 48 | telemetry,
|
50 | 49 | vector_io,
|
51 |
| - benchmarks, |
52 | 50 | embeddings,
|
53 | 51 | toolgroups,
|
54 | 52 | vector_dbs,
|
|
66 | 64 | from .resources.inspect import InspectResource, AsyncInspectResource
|
67 | 65 | from .resources.scoring import ScoringResource, AsyncScoringResource
|
68 | 66 | from .resources.shields import ShieldsResource, AsyncShieldsResource
|
69 |
| - from .resources.datasets import DatasetsResource, AsyncDatasetsResource |
70 | 67 | from .resources.chat.chat import ChatResource, AsyncChatResource
|
71 | 68 | from .resources.providers import ProvidersResource, AsyncProvidersResource
|
72 | 69 | from .resources.telemetry import TelemetryResource, AsyncTelemetryResource
|
73 | 70 | from .resources.vector_io import VectorIoResource, AsyncVectorIoResource
|
74 |
| - from .resources.benchmarks import BenchmarksResource, AsyncBenchmarksResource |
75 | 71 | from .resources.embeddings import EmbeddingsResource, AsyncEmbeddingsResource
|
76 | 72 | from .resources.toolgroups import ToolgroupsResource, AsyncToolgroupsResource
|
77 | 73 | from .resources.vector_dbs import VectorDBsResource, AsyncVectorDBsResource
|
@@ -181,12 +177,6 @@ def responses(self) -> ResponsesResource:
|
181 | 177 |
|
182 | 178 | return ResponsesResource(self)
|
183 | 179 |
|
184 |
| - @cached_property |
185 |
| - def datasets(self) -> DatasetsResource: |
186 |
| - from .resources.datasets import DatasetsResource |
187 |
| - |
188 |
| - return DatasetsResource(self) |
189 |
| - |
190 | 180 | @cached_property
|
191 | 181 | def inspect(self) -> InspectResource:
|
192 | 182 | from .resources.inspect import InspectResource
|
@@ -289,12 +279,6 @@ def scoring_functions(self) -> ScoringFunctionsResource:
|
289 | 279 |
|
290 | 280 | return ScoringFunctionsResource(self)
|
291 | 281 |
|
292 |
| - @cached_property |
293 |
| - def benchmarks(self) -> BenchmarksResource: |
294 |
| - from .resources.benchmarks import BenchmarksResource |
295 |
| - |
296 |
| - return BenchmarksResource(self) |
297 |
| - |
298 | 282 | @cached_property
|
299 | 283 | def files(self) -> FilesResource:
|
300 | 284 | from .resources.files import FilesResource
|
@@ -503,12 +487,6 @@ def responses(self) -> AsyncResponsesResource:
|
503 | 487 |
|
504 | 488 | return AsyncResponsesResource(self)
|
505 | 489 |
|
506 |
| - @cached_property |
507 |
| - def datasets(self) -> AsyncDatasetsResource: |
508 |
| - from .resources.datasets import AsyncDatasetsResource |
509 |
| - |
510 |
| - return AsyncDatasetsResource(self) |
511 |
| - |
512 | 490 | @cached_property
|
513 | 491 | def inspect(self) -> AsyncInspectResource:
|
514 | 492 | from .resources.inspect import AsyncInspectResource
|
@@ -611,12 +589,6 @@ def scoring_functions(self) -> AsyncScoringFunctionsResource:
|
611 | 589 |
|
612 | 590 | return AsyncScoringFunctionsResource(self)
|
613 | 591 |
|
614 |
| - @cached_property |
615 |
| - def benchmarks(self) -> AsyncBenchmarksResource: |
616 |
| - from .resources.benchmarks import AsyncBenchmarksResource |
617 |
| - |
618 |
| - return AsyncBenchmarksResource(self) |
619 |
| - |
620 | 592 | @cached_property
|
621 | 593 | def files(self) -> AsyncFilesResource:
|
622 | 594 | from .resources.files import AsyncFilesResource
|
@@ -774,12 +746,6 @@ def responses(self) -> responses.ResponsesResourceWithRawResponse:
|
774 | 746 |
|
775 | 747 | return ResponsesResourceWithRawResponse(self._client.responses)
|
776 | 748 |
|
777 |
| - @cached_property |
778 |
| - def datasets(self) -> datasets.DatasetsResourceWithRawResponse: |
779 |
| - from .resources.datasets import DatasetsResourceWithRawResponse |
780 |
| - |
781 |
| - return DatasetsResourceWithRawResponse(self._client.datasets) |
782 |
| - |
783 | 749 | @cached_property
|
784 | 750 | def inspect(self) -> inspect.InspectResourceWithRawResponse:
|
785 | 751 | from .resources.inspect import InspectResourceWithRawResponse
|
@@ -882,12 +848,6 @@ def scoring_functions(self) -> scoring_functions.ScoringFunctionsResourceWithRaw
|
882 | 848 |
|
883 | 849 | return ScoringFunctionsResourceWithRawResponse(self._client.scoring_functions)
|
884 | 850 |
|
885 |
| - @cached_property |
886 |
| - def benchmarks(self) -> benchmarks.BenchmarksResourceWithRawResponse: |
887 |
| - from .resources.benchmarks import BenchmarksResourceWithRawResponse |
888 |
| - |
889 |
| - return BenchmarksResourceWithRawResponse(self._client.benchmarks) |
890 |
| - |
891 | 851 | @cached_property
|
892 | 852 | def files(self) -> files.FilesResourceWithRawResponse:
|
893 | 853 | from .resources.files import FilesResourceWithRawResponse
|
@@ -931,12 +891,6 @@ def responses(self) -> responses.AsyncResponsesResourceWithRawResponse:
|
931 | 891 |
|
932 | 892 | return AsyncResponsesResourceWithRawResponse(self._client.responses)
|
933 | 893 |
|
934 |
| - @cached_property |
935 |
| - def datasets(self) -> datasets.AsyncDatasetsResourceWithRawResponse: |
936 |
| - from .resources.datasets import AsyncDatasetsResourceWithRawResponse |
937 |
| - |
938 |
| - return AsyncDatasetsResourceWithRawResponse(self._client.datasets) |
939 |
| - |
940 | 894 | @cached_property
|
941 | 895 | def inspect(self) -> inspect.AsyncInspectResourceWithRawResponse:
|
942 | 896 | from .resources.inspect import AsyncInspectResourceWithRawResponse
|
@@ -1041,12 +995,6 @@ def scoring_functions(self) -> scoring_functions.AsyncScoringFunctionsResourceWi
|
1041 | 995 |
|
1042 | 996 | return AsyncScoringFunctionsResourceWithRawResponse(self._client.scoring_functions)
|
1043 | 997 |
|
1044 |
| - @cached_property |
1045 |
| - def benchmarks(self) -> benchmarks.AsyncBenchmarksResourceWithRawResponse: |
1046 |
| - from .resources.benchmarks import AsyncBenchmarksResourceWithRawResponse |
1047 |
| - |
1048 |
| - return AsyncBenchmarksResourceWithRawResponse(self._client.benchmarks) |
1049 |
| - |
1050 | 998 | @cached_property
|
1051 | 999 | def files(self) -> files.AsyncFilesResourceWithRawResponse:
|
1052 | 1000 | from .resources.files import AsyncFilesResourceWithRawResponse
|
@@ -1090,12 +1038,6 @@ def responses(self) -> responses.ResponsesResourceWithStreamingResponse:
|
1090 | 1038 |
|
1091 | 1039 | return ResponsesResourceWithStreamingResponse(self._client.responses)
|
1092 | 1040 |
|
1093 |
| - @cached_property |
1094 |
| - def datasets(self) -> datasets.DatasetsResourceWithStreamingResponse: |
1095 |
| - from .resources.datasets import DatasetsResourceWithStreamingResponse |
1096 |
| - |
1097 |
| - return DatasetsResourceWithStreamingResponse(self._client.datasets) |
1098 |
| - |
1099 | 1041 | @cached_property
|
1100 | 1042 | def inspect(self) -> inspect.InspectResourceWithStreamingResponse:
|
1101 | 1043 | from .resources.inspect import InspectResourceWithStreamingResponse
|
@@ -1200,12 +1142,6 @@ def scoring_functions(self) -> scoring_functions.ScoringFunctionsResourceWithStr
|
1200 | 1142 |
|
1201 | 1143 | return ScoringFunctionsResourceWithStreamingResponse(self._client.scoring_functions)
|
1202 | 1144 |
|
1203 |
| - @cached_property |
1204 |
| - def benchmarks(self) -> benchmarks.BenchmarksResourceWithStreamingResponse: |
1205 |
| - from .resources.benchmarks import BenchmarksResourceWithStreamingResponse |
1206 |
| - |
1207 |
| - return BenchmarksResourceWithStreamingResponse(self._client.benchmarks) |
1208 |
| - |
1209 | 1145 | @cached_property
|
1210 | 1146 | def files(self) -> files.FilesResourceWithStreamingResponse:
|
1211 | 1147 | from .resources.files import FilesResourceWithStreamingResponse
|
@@ -1249,12 +1185,6 @@ def responses(self) -> responses.AsyncResponsesResourceWithStreamingResponse:
|
1249 | 1185 |
|
1250 | 1186 | return AsyncResponsesResourceWithStreamingResponse(self._client.responses)
|
1251 | 1187 |
|
1252 |
| - @cached_property |
1253 |
| - def datasets(self) -> datasets.AsyncDatasetsResourceWithStreamingResponse: |
1254 |
| - from .resources.datasets import AsyncDatasetsResourceWithStreamingResponse |
1255 |
| - |
1256 |
| - return AsyncDatasetsResourceWithStreamingResponse(self._client.datasets) |
1257 |
| - |
1258 | 1188 | @cached_property
|
1259 | 1189 | def inspect(self) -> inspect.AsyncInspectResourceWithStreamingResponse:
|
1260 | 1190 | from .resources.inspect import AsyncInspectResourceWithStreamingResponse
|
@@ -1359,12 +1289,6 @@ def scoring_functions(self) -> scoring_functions.AsyncScoringFunctionsResourceWi
|
1359 | 1289 |
|
1360 | 1290 | return AsyncScoringFunctionsResourceWithStreamingResponse(self._client.scoring_functions)
|
1361 | 1291 |
|
1362 |
| - @cached_property |
1363 |
| - def benchmarks(self) -> benchmarks.AsyncBenchmarksResourceWithStreamingResponse: |
1364 |
| - from .resources.benchmarks import AsyncBenchmarksResourceWithStreamingResponse |
1365 |
| - |
1366 |
| - return AsyncBenchmarksResourceWithStreamingResponse(self._client.benchmarks) |
1367 |
| - |
1368 | 1292 | @cached_property
|
1369 | 1293 | def files(self) -> files.AsyncFilesResourceWithStreamingResponse:
|
1370 | 1294 | from .resources.files import AsyncFilesResourceWithStreamingResponse
|
|
0 commit comments