Skip to content

Commit 20cc094

Browse files
authored
Merge pull request #51 from isaacus-dev/release-please--branches--main--changes--next
release: 0.3.1
2 parents 5ef5f65 + 8b94cfd commit 20cc094

13 files changed

+634
-5
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.3.1"
33
}

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1
1+
configured_endpoints: 2
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-861e8a85f0fb73cf4b7fc6c2b27722072ff33109459e90c17be24af15dfcbd0c.yml
33
openapi_spec_hash: 644a0383600633ee604bb1e5b9ca025d
4-
config_hash: 8a781867f31df68b9c6fba04c165c647
4+
config_hash: 2bc262108dc3b065c16da5bb85c1e282

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.3.1 (2025-04-01)
4+
5+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.3.0...v0.3.1)
6+
7+
### Bug Fixes
8+
9+
* **stainless:** added missing reranking endpoint to SDK API ([#50](https://github.com/isaacus-dev/isaacus-python/issues/50)) ([65bcc7c](https://github.com/isaacus-dev/isaacus-python/commit/65bcc7c274dc5609c1537e417c75e6b9942ac8fc))
10+
311
## 0.3.0 (2025-04-01)
412

513
Full Changelog: [v0.2.0...v0.3.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.2.0...v0.3.0)

api.md

+12
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ from isaacus.types.classifications import UniversalClassification
1111
Methods:
1212

1313
- <code title="post /classifications/universal">client.classifications.universal.<a href="./src/isaacus/resources/classifications/universal.py">create</a>(\*\*<a href="src/isaacus/types/classifications/universal_create_params.py">params</a>) -> <a href="./src/isaacus/types/classifications/universal_classification.py">UniversalClassification</a></code>
14+
15+
# Rerankings
16+
17+
Types:
18+
19+
```python
20+
from isaacus.types import Reranking
21+
```
22+
23+
Methods:
24+
25+
- <code title="post /rerankings">client.rerankings.<a href="./src/isaacus/resources/rerankings.py">create</a>(\*\*<a href="src/isaacus/types/reranking_create_params.py">params</a>) -> <a href="./src/isaacus/types/reranking.py">Reranking</a></code>

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "isaacus"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "The official Python library for the isaacus API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/isaacus/_client.py

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
get_async_library,
2525
)
2626
from ._version import __version__
27+
from .resources import rerankings
2728
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
2829
from ._exceptions import IsaacusError, APIStatusError
2930
from ._base_client import (
@@ -38,6 +39,7 @@
3839

3940
class Isaacus(SyncAPIClient):
4041
classifications: classifications.ClassificationsResource
42+
rerankings: rerankings.RerankingsResource
4143
with_raw_response: IsaacusWithRawResponse
4244
with_streaming_response: IsaacusWithStreamedResponse
4345

@@ -96,6 +98,7 @@ def __init__(
9698
)
9799

98100
self.classifications = classifications.ClassificationsResource(self)
101+
self.rerankings = rerankings.RerankingsResource(self)
99102
self.with_raw_response = IsaacusWithRawResponse(self)
100103
self.with_streaming_response = IsaacusWithStreamedResponse(self)
101104

@@ -206,6 +209,7 @@ def _make_status_error(
206209

207210
class AsyncIsaacus(AsyncAPIClient):
208211
classifications: classifications.AsyncClassificationsResource
212+
rerankings: rerankings.AsyncRerankingsResource
209213
with_raw_response: AsyncIsaacusWithRawResponse
210214
with_streaming_response: AsyncIsaacusWithStreamedResponse
211215

@@ -264,6 +268,7 @@ def __init__(
264268
)
265269

266270
self.classifications = classifications.AsyncClassificationsResource(self)
271+
self.rerankings = rerankings.AsyncRerankingsResource(self)
267272
self.with_raw_response = AsyncIsaacusWithRawResponse(self)
268273
self.with_streaming_response = AsyncIsaacusWithStreamedResponse(self)
269274

@@ -375,21 +380,25 @@ def _make_status_error(
375380
class IsaacusWithRawResponse:
376381
def __init__(self, client: Isaacus) -> None:
377382
self.classifications = classifications.ClassificationsResourceWithRawResponse(client.classifications)
383+
self.rerankings = rerankings.RerankingsResourceWithRawResponse(client.rerankings)
378384

379385

380386
class AsyncIsaacusWithRawResponse:
381387
def __init__(self, client: AsyncIsaacus) -> None:
382388
self.classifications = classifications.AsyncClassificationsResourceWithRawResponse(client.classifications)
389+
self.rerankings = rerankings.AsyncRerankingsResourceWithRawResponse(client.rerankings)
383390

384391

385392
class IsaacusWithStreamedResponse:
386393
def __init__(self, client: Isaacus) -> None:
387394
self.classifications = classifications.ClassificationsResourceWithStreamingResponse(client.classifications)
395+
self.rerankings = rerankings.RerankingsResourceWithStreamingResponse(client.rerankings)
388396

389397

390398
class AsyncIsaacusWithStreamedResponse:
391399
def __init__(self, client: AsyncIsaacus) -> None:
392400
self.classifications = classifications.AsyncClassificationsResourceWithStreamingResponse(client.classifications)
401+
self.rerankings = rerankings.AsyncRerankingsResourceWithStreamingResponse(client.rerankings)
393402

394403

395404
Client = Isaacus

src/isaacus/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "isaacus"
4-
__version__ = "0.3.0" # x-release-please-version
4+
__version__ = "0.3.1" # x-release-please-version

src/isaacus/resources/__init__.py

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from .rerankings import (
4+
RerankingsResource,
5+
AsyncRerankingsResource,
6+
RerankingsResourceWithRawResponse,
7+
AsyncRerankingsResourceWithRawResponse,
8+
RerankingsResourceWithStreamingResponse,
9+
AsyncRerankingsResourceWithStreamingResponse,
10+
)
311
from .classifications import (
412
ClassificationsResource,
513
AsyncClassificationsResource,
@@ -16,4 +24,10 @@
1624
"AsyncClassificationsResourceWithRawResponse",
1725
"ClassificationsResourceWithStreamingResponse",
1826
"AsyncClassificationsResourceWithStreamingResponse",
27+
"RerankingsResource",
28+
"AsyncRerankingsResource",
29+
"RerankingsResourceWithRawResponse",
30+
"AsyncRerankingsResourceWithRawResponse",
31+
"RerankingsResourceWithStreamingResponse",
32+
"AsyncRerankingsResourceWithStreamingResponse",
1933
]

0 commit comments

Comments
 (0)