|
24 | 24 | get_async_library,
|
25 | 25 | )
|
26 | 26 | from ._version import __version__
|
| 27 | +from .resources import rerankings |
27 | 28 | from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
28 | 29 | from ._exceptions import IsaacusError, APIStatusError
|
29 | 30 | from ._base_client import (
|
|
38 | 39 |
|
39 | 40 | class Isaacus(SyncAPIClient):
|
40 | 41 | classifications: classifications.ClassificationsResource
|
| 42 | + rerankings: rerankings.RerankingsResource |
41 | 43 | with_raw_response: IsaacusWithRawResponse
|
42 | 44 | with_streaming_response: IsaacusWithStreamedResponse
|
43 | 45 |
|
@@ -96,6 +98,7 @@ def __init__(
|
96 | 98 | )
|
97 | 99 |
|
98 | 100 | self.classifications = classifications.ClassificationsResource(self)
|
| 101 | + self.rerankings = rerankings.RerankingsResource(self) |
99 | 102 | self.with_raw_response = IsaacusWithRawResponse(self)
|
100 | 103 | self.with_streaming_response = IsaacusWithStreamedResponse(self)
|
101 | 104 |
|
@@ -206,6 +209,7 @@ def _make_status_error(
|
206 | 209 |
|
207 | 210 | class AsyncIsaacus(AsyncAPIClient):
|
208 | 211 | classifications: classifications.AsyncClassificationsResource
|
| 212 | + rerankings: rerankings.AsyncRerankingsResource |
209 | 213 | with_raw_response: AsyncIsaacusWithRawResponse
|
210 | 214 | with_streaming_response: AsyncIsaacusWithStreamedResponse
|
211 | 215 |
|
@@ -264,6 +268,7 @@ def __init__(
|
264 | 268 | )
|
265 | 269 |
|
266 | 270 | self.classifications = classifications.AsyncClassificationsResource(self)
|
| 271 | + self.rerankings = rerankings.AsyncRerankingsResource(self) |
267 | 272 | self.with_raw_response = AsyncIsaacusWithRawResponse(self)
|
268 | 273 | self.with_streaming_response = AsyncIsaacusWithStreamedResponse(self)
|
269 | 274 |
|
@@ -375,21 +380,25 @@ def _make_status_error(
|
375 | 380 | class IsaacusWithRawResponse:
|
376 | 381 | def __init__(self, client: Isaacus) -> None:
|
377 | 382 | self.classifications = classifications.ClassificationsResourceWithRawResponse(client.classifications)
|
| 383 | + self.rerankings = rerankings.RerankingsResourceWithRawResponse(client.rerankings) |
378 | 384 |
|
379 | 385 |
|
380 | 386 | class AsyncIsaacusWithRawResponse:
|
381 | 387 | def __init__(self, client: AsyncIsaacus) -> None:
|
382 | 388 | self.classifications = classifications.AsyncClassificationsResourceWithRawResponse(client.classifications)
|
| 389 | + self.rerankings = rerankings.AsyncRerankingsResourceWithRawResponse(client.rerankings) |
383 | 390 |
|
384 | 391 |
|
385 | 392 | class IsaacusWithStreamedResponse:
|
386 | 393 | def __init__(self, client: Isaacus) -> None:
|
387 | 394 | self.classifications = classifications.ClassificationsResourceWithStreamingResponse(client.classifications)
|
| 395 | + self.rerankings = rerankings.RerankingsResourceWithStreamingResponse(client.rerankings) |
388 | 396 |
|
389 | 397 |
|
390 | 398 | class AsyncIsaacusWithStreamedResponse:
|
391 | 399 | def __init__(self, client: AsyncIsaacus) -> None:
|
392 | 400 | self.classifications = classifications.AsyncClassificationsResourceWithStreamingResponse(client.classifications)
|
| 401 | + self.rerankings = rerankings.AsyncRerankingsResourceWithStreamingResponse(client.rerankings) |
393 | 402 |
|
394 | 403 |
|
395 | 404 | Client = Isaacus
|
|
0 commit comments