|
28 | 28 | from .feedback.client import AsyncFeedbackClient, FeedbackClient |
29 | 29 | from .health.client import AsyncHealthClient, HealthClient |
30 | 30 | from .ingestion.client import AsyncIngestionClient, IngestionClient |
31 | | - from .legacy.client import AsyncLegacyClient, LegacyClient |
32 | 31 | from .llm_connections.client import AsyncLlmConnectionsClient, LlmConnectionsClient |
33 | 32 | from .media.client import AsyncMediaClient, MediaClient |
34 | 33 | from .metrics.client import AsyncMetricsClient, MetricsClient |
@@ -138,7 +137,6 @@ def __init__( |
138 | 137 | self._feedback: typing.Optional[FeedbackClient] = None |
139 | 138 | self._health: typing.Optional[HealthClient] = None |
140 | 139 | self._ingestion: typing.Optional[IngestionClient] = None |
141 | | - self._legacy: typing.Optional[LegacyClient] = None |
142 | 140 | self._llm_connections: typing.Optional[LlmConnectionsClient] = None |
143 | 141 | self._media: typing.Optional[MediaClient] = None |
144 | 142 | self._metrics: typing.Optional[MetricsClient] = None |
@@ -252,14 +250,6 @@ def ingestion(self): |
252 | 250 | self._ingestion = IngestionClient(client_wrapper=self._client_wrapper) |
253 | 251 | return self._ingestion |
254 | 252 |
|
255 | | - @property |
256 | | - def legacy(self): |
257 | | - if self._legacy is None: |
258 | | - from .legacy.client import LegacyClient # noqa: E402 |
259 | | - |
260 | | - self._legacy = LegacyClient(client_wrapper=self._client_wrapper) |
261 | | - return self._legacy |
262 | | - |
263 | 253 | @property |
264 | 254 | def llm_connections(self): |
265 | 255 | if self._llm_connections is None: |
@@ -490,7 +480,6 @@ def __init__( |
490 | 480 | self._feedback: typing.Optional[AsyncFeedbackClient] = None |
491 | 481 | self._health: typing.Optional[AsyncHealthClient] = None |
492 | 482 | self._ingestion: typing.Optional[AsyncIngestionClient] = None |
493 | | - self._legacy: typing.Optional[AsyncLegacyClient] = None |
494 | 483 | self._llm_connections: typing.Optional[AsyncLlmConnectionsClient] = None |
495 | 484 | self._media: typing.Optional[AsyncMediaClient] = None |
496 | 485 | self._metrics: typing.Optional[AsyncMetricsClient] = None |
@@ -610,14 +599,6 @@ def ingestion(self): |
610 | 599 | self._ingestion = AsyncIngestionClient(client_wrapper=self._client_wrapper) |
611 | 600 | return self._ingestion |
612 | 601 |
|
613 | | - @property |
614 | | - def legacy(self): |
615 | | - if self._legacy is None: |
616 | | - from .legacy.client import AsyncLegacyClient # noqa: E402 |
617 | | - |
618 | | - self._legacy = AsyncLegacyClient(client_wrapper=self._client_wrapper) |
619 | | - return self._legacy |
620 | | - |
621 | 602 | @property |
622 | 603 | def llm_connections(self): |
623 | 604 | if self._llm_connections is None: |
|
0 commit comments