|
4 | 4 |
|
5 | 5 | import httpx |
6 | 6 |
|
7 | | -from .models import ( |
8 | | - ModelsResource, |
9 | | - AsyncModelsResource, |
10 | | - ModelsResourceWithRawResponse, |
11 | | - AsyncModelsResourceWithRawResponse, |
12 | | - ModelsResourceWithStreamingResponse, |
13 | | - AsyncModelsResourceWithStreamingResponse, |
14 | | -) |
15 | 7 | from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given |
16 | 8 | from ...._utils import maybe_transform, async_maybe_transform |
17 | 9 | from ...._compat import cached_property |
@@ -75,10 +67,6 @@ class EvaluationMetricsResource(SyncAPIResource): |
75 | 67 | def workspaces(self) -> WorkspacesResource: |
76 | 68 | return WorkspacesResource(self._client) |
77 | 69 |
|
78 | | - @cached_property |
79 | | - def models(self) -> ModelsResource: |
80 | | - return ModelsResource(self._client) |
81 | | - |
82 | 70 | @cached_property |
83 | 71 | def anthropic(self) -> AnthropicResource: |
84 | 72 | return AnthropicResource(self._client) |
@@ -192,10 +180,6 @@ class AsyncEvaluationMetricsResource(AsyncAPIResource): |
192 | 180 | def workspaces(self) -> AsyncWorkspacesResource: |
193 | 181 | return AsyncWorkspacesResource(self._client) |
194 | 182 |
|
195 | | - @cached_property |
196 | | - def models(self) -> AsyncModelsResource: |
197 | | - return AsyncModelsResource(self._client) |
198 | | - |
199 | 183 | @cached_property |
200 | 184 | def anthropic(self) -> AsyncAnthropicResource: |
201 | 185 | return AsyncAnthropicResource(self._client) |
@@ -319,10 +303,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None: |
319 | 303 | def workspaces(self) -> WorkspacesResourceWithRawResponse: |
320 | 304 | return WorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces) |
321 | 305 |
|
322 | | - @cached_property |
323 | | - def models(self) -> ModelsResourceWithRawResponse: |
324 | | - return ModelsResourceWithRawResponse(self._evaluation_metrics.models) |
325 | | - |
326 | 306 | @cached_property |
327 | 307 | def anthropic(self) -> AnthropicResourceWithRawResponse: |
328 | 308 | return AnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic) |
@@ -355,10 +335,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None: |
355 | 335 | def workspaces(self) -> AsyncWorkspacesResourceWithRawResponse: |
356 | 336 | return AsyncWorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces) |
357 | 337 |
|
358 | | - @cached_property |
359 | | - def models(self) -> AsyncModelsResourceWithRawResponse: |
360 | | - return AsyncModelsResourceWithRawResponse(self._evaluation_metrics.models) |
361 | | - |
362 | 338 | @cached_property |
363 | 339 | def anthropic(self) -> AsyncAnthropicResourceWithRawResponse: |
364 | 340 | return AsyncAnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic) |
@@ -391,10 +367,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None: |
391 | 367 | def workspaces(self) -> WorkspacesResourceWithStreamingResponse: |
392 | 368 | return WorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces) |
393 | 369 |
|
394 | | - @cached_property |
395 | | - def models(self) -> ModelsResourceWithStreamingResponse: |
396 | | - return ModelsResourceWithStreamingResponse(self._evaluation_metrics.models) |
397 | | - |
398 | 370 | @cached_property |
399 | 371 | def anthropic(self) -> AnthropicResourceWithStreamingResponse: |
400 | 372 | return AnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic) |
@@ -427,10 +399,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None: |
427 | 399 | def workspaces(self) -> AsyncWorkspacesResourceWithStreamingResponse: |
428 | 400 | return AsyncWorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces) |
429 | 401 |
|
430 | | - @cached_property |
431 | | - def models(self) -> AsyncModelsResourceWithStreamingResponse: |
432 | | - return AsyncModelsResourceWithStreamingResponse(self._evaluation_metrics.models) |
433 | | - |
434 | 402 | @cached_property |
435 | 403 | def anthropic(self) -> AsyncAnthropicResourceWithStreamingResponse: |
436 | 404 | return AsyncAnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic) |
|
0 commit comments