From 025587b946c3ece7a34a346280dbd688880a7276 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2026 14:16:39 +0000 Subject: [PATCH 1/2] chore(internal): codegen related update --- src/isaacus/_client.py | 24 +++++++++++++++++++ .../classifications/classifications.py | 6 +++++ .../classifications/universal/universal.py | 4 ++++ src/isaacus/resources/embeddings.py | 4 ++++ .../resources/extractions/extractions.py | 6 +++++ src/isaacus/resources/extractions/qa/qa.py | 4 ++++ src/isaacus/resources/rerankings.py | 8 +++++++ 7 files changed, 56 insertions(+) diff --git a/src/isaacus/_client.py b/src/isaacus/_client.py index ae83c36..41660d8 100644 --- a/src/isaacus/_client.py +++ b/src/isaacus/_client.py @@ -98,6 +98,7 @@ def __init__( @cached_property def embeddings(self) -> EmbeddingsResource: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import EmbeddingsResource return EmbeddingsResource(self) @@ -110,6 +111,9 @@ def classifications(self) -> ClassificationsResource: @cached_property def rerankings(self) -> RerankingsResource: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import RerankingsResource return RerankingsResource(self) @@ -296,6 +300,7 @@ def __init__( @cached_property def embeddings(self) -> AsyncEmbeddingsResource: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import AsyncEmbeddingsResource return AsyncEmbeddingsResource(self) @@ -308,6 +313,9 @@ def classifications(self) -> AsyncClassificationsResource: @cached_property def rerankings(self) -> AsyncRerankingsResource: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import AsyncRerankingsResource return AsyncRerankingsResource(self) @@ -445,6 +453,7 @@ def __init__(self, client: Isaacus) -> None: @cached_property def embeddings(self) -> embeddings.EmbeddingsResourceWithRawResponse: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import EmbeddingsResourceWithRawResponse return EmbeddingsResourceWithRawResponse(self._client.embeddings) @@ -457,6 +466,9 @@ def classifications(self) -> classifications.ClassificationsResourceWithRawRespo @cached_property def rerankings(self) -> rerankings.RerankingsResourceWithRawResponse: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import RerankingsResourceWithRawResponse return RerankingsResourceWithRawResponse(self._client.rerankings) @@ -482,6 +494,7 @@ def __init__(self, client: AsyncIsaacus) -> None: @cached_property def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithRawResponse: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import AsyncEmbeddingsResourceWithRawResponse return AsyncEmbeddingsResourceWithRawResponse(self._client.embeddings) @@ -494,6 +507,9 @@ def classifications(self) -> classifications.AsyncClassificationsResourceWithRaw @cached_property def rerankings(self) -> rerankings.AsyncRerankingsResourceWithRawResponse: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import AsyncRerankingsResourceWithRawResponse return AsyncRerankingsResourceWithRawResponse(self._client.rerankings) @@ -519,6 +535,7 @@ def __init__(self, client: Isaacus) -> None: @cached_property def embeddings(self) -> embeddings.EmbeddingsResourceWithStreamingResponse: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import EmbeddingsResourceWithStreamingResponse return EmbeddingsResourceWithStreamingResponse(self._client.embeddings) @@ -531,6 +548,9 @@ def classifications(self) -> classifications.ClassificationsResourceWithStreamin @cached_property def rerankings(self) -> rerankings.RerankingsResourceWithStreamingResponse: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import RerankingsResourceWithStreamingResponse return RerankingsResourceWithStreamingResponse(self._client.rerankings) @@ -556,6 +576,7 @@ def __init__(self, client: AsyncIsaacus) -> None: @cached_property def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithStreamingResponse: + """Embed legal texts with Isaacus legal AI embedders.""" from .resources.embeddings import AsyncEmbeddingsResourceWithStreamingResponse return AsyncEmbeddingsResourceWithStreamingResponse(self._client.embeddings) @@ -568,6 +589,9 @@ def classifications(self) -> classifications.AsyncClassificationsResourceWithStr @cached_property def rerankings(self) -> rerankings.AsyncRerankingsResourceWithStreamingResponse: + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ from .resources.rerankings import AsyncRerankingsResourceWithStreamingResponse return AsyncRerankingsResourceWithStreamingResponse(self._client.rerankings) diff --git a/src/isaacus/resources/classifications/classifications.py b/src/isaacus/resources/classifications/classifications.py index 19b4d4b..38fdf11 100644 --- a/src/isaacus/resources/classifications/classifications.py +++ b/src/isaacus/resources/classifications/classifications.py @@ -19,6 +19,7 @@ class ClassificationsResource(SyncAPIResource): @cached_property def universal(self) -> UniversalResource: + """Classify legal documents with Isaacus legal AI classifiers.""" return UniversalResource(self._client) @cached_property @@ -44,6 +45,7 @@ def with_streaming_response(self) -> ClassificationsResourceWithStreamingRespons class AsyncClassificationsResource(AsyncAPIResource): @cached_property def universal(self) -> AsyncUniversalResource: + """Classify legal documents with Isaacus legal AI classifiers.""" return AsyncUniversalResource(self._client) @cached_property @@ -72,6 +74,7 @@ def __init__(self, classifications: ClassificationsResource) -> None: @cached_property def universal(self) -> UniversalResourceWithRawResponse: + """Classify legal documents with Isaacus legal AI classifiers.""" return UniversalResourceWithRawResponse(self._classifications.universal) @@ -81,6 +84,7 @@ def __init__(self, classifications: AsyncClassificationsResource) -> None: @cached_property def universal(self) -> AsyncUniversalResourceWithRawResponse: + """Classify legal documents with Isaacus legal AI classifiers.""" return AsyncUniversalResourceWithRawResponse(self._classifications.universal) @@ -90,6 +94,7 @@ def __init__(self, classifications: ClassificationsResource) -> None: @cached_property def universal(self) -> UniversalResourceWithStreamingResponse: + """Classify legal documents with Isaacus legal AI classifiers.""" return UniversalResourceWithStreamingResponse(self._classifications.universal) @@ -99,4 +104,5 @@ def __init__(self, classifications: AsyncClassificationsResource) -> None: @cached_property def universal(self) -> AsyncUniversalResourceWithStreamingResponse: + """Classify legal documents with Isaacus legal AI classifiers.""" return AsyncUniversalResourceWithStreamingResponse(self._classifications.universal) diff --git a/src/isaacus/resources/classifications/universal/universal.py b/src/isaacus/resources/classifications/universal/universal.py index 9784b9c..e14aa5f 100644 --- a/src/isaacus/resources/classifications/universal/universal.py +++ b/src/isaacus/resources/classifications/universal/universal.py @@ -25,6 +25,8 @@ class UniversalResource(SyncAPIResource): + """Classify legal documents with Isaacus legal AI classifiers.""" + @cached_property def with_raw_response(self) -> UniversalResourceWithRawResponse: """ @@ -126,6 +128,8 @@ def create( class AsyncUniversalResource(AsyncAPIResource): + """Classify legal documents with Isaacus legal AI classifiers.""" + @cached_property def with_raw_response(self) -> AsyncUniversalResourceWithRawResponse: """ diff --git a/src/isaacus/resources/embeddings.py b/src/isaacus/resources/embeddings.py index e7a5e3a..5fda1b0 100644 --- a/src/isaacus/resources/embeddings.py +++ b/src/isaacus/resources/embeddings.py @@ -25,6 +25,8 @@ class EmbeddingsResource(SyncAPIResource): + """Embed legal texts with Isaacus legal AI embedders.""" + @cached_property def with_raw_response(self) -> EmbeddingsResourceWithRawResponse: """ @@ -118,6 +120,8 @@ def create( class AsyncEmbeddingsResource(AsyncAPIResource): + """Embed legal texts with Isaacus legal AI embedders.""" + @cached_property def with_raw_response(self) -> AsyncEmbeddingsResourceWithRawResponse: """ diff --git a/src/isaacus/resources/extractions/extractions.py b/src/isaacus/resources/extractions/extractions.py index 6733808..13c23d6 100644 --- a/src/isaacus/resources/extractions/extractions.py +++ b/src/isaacus/resources/extractions/extractions.py @@ -19,6 +19,7 @@ class ExtractionsResource(SyncAPIResource): @cached_property def qa(self) -> QAResource: + """Extract information from legal documents with Isaacus legal AI extractors.""" return QAResource(self._client) @cached_property @@ -44,6 +45,7 @@ def with_streaming_response(self) -> ExtractionsResourceWithStreamingResponse: class AsyncExtractionsResource(AsyncAPIResource): @cached_property def qa(self) -> AsyncQAResource: + """Extract information from legal documents with Isaacus legal AI extractors.""" return AsyncQAResource(self._client) @cached_property @@ -72,6 +74,7 @@ def __init__(self, extractions: ExtractionsResource) -> None: @cached_property def qa(self) -> QAResourceWithRawResponse: + """Extract information from legal documents with Isaacus legal AI extractors.""" return QAResourceWithRawResponse(self._extractions.qa) @@ -81,6 +84,7 @@ def __init__(self, extractions: AsyncExtractionsResource) -> None: @cached_property def qa(self) -> AsyncQAResourceWithRawResponse: + """Extract information from legal documents with Isaacus legal AI extractors.""" return AsyncQAResourceWithRawResponse(self._extractions.qa) @@ -90,6 +94,7 @@ def __init__(self, extractions: ExtractionsResource) -> None: @cached_property def qa(self) -> QAResourceWithStreamingResponse: + """Extract information from legal documents with Isaacus legal AI extractors.""" return QAResourceWithStreamingResponse(self._extractions.qa) @@ -99,4 +104,5 @@ def __init__(self, extractions: AsyncExtractionsResource) -> None: @cached_property def qa(self) -> AsyncQAResourceWithStreamingResponse: + """Extract information from legal documents with Isaacus legal AI extractors.""" return AsyncQAResourceWithStreamingResponse(self._extractions.qa) diff --git a/src/isaacus/resources/extractions/qa/qa.py b/src/isaacus/resources/extractions/qa/qa.py index c356ece..9f040f8 100644 --- a/src/isaacus/resources/extractions/qa/qa.py +++ b/src/isaacus/resources/extractions/qa/qa.py @@ -25,6 +25,8 @@ class QAResource(SyncAPIResource): + """Extract information from legal documents with Isaacus legal AI extractors.""" + @cached_property def with_raw_response(self) -> QAResourceWithRawResponse: """ @@ -125,6 +127,8 @@ def create( class AsyncQAResource(AsyncAPIResource): + """Extract information from legal documents with Isaacus legal AI extractors.""" + @cached_property def with_raw_response(self) -> AsyncQAResourceWithRawResponse: """ diff --git a/src/isaacus/resources/rerankings.py b/src/isaacus/resources/rerankings.py index cde9f98..20fd25d 100644 --- a/src/isaacus/resources/rerankings.py +++ b/src/isaacus/resources/rerankings.py @@ -25,6 +25,10 @@ class RerankingsResource(SyncAPIResource): + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ + @cached_property def with_raw_response(self) -> RerankingsResourceWithRawResponse: """ @@ -136,6 +140,10 @@ def create( class AsyncRerankingsResource(AsyncAPIResource): + """ + Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers. + """ + @cached_property def with_raw_response(self) -> AsyncRerankingsResourceWithRawResponse: """ From caec48031ae3c368116447fffd03c81bfdd36b74 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2026 14:16:59 +0000 Subject: [PATCH 2/2] release: 0.19.4 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/isaacus/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1b4d3bf..a4e0077 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.19.3" + ".": "0.19.4" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f7365b1..c34b0d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.19.4 (2026-03-03) + +Full Changelog: [v0.19.3...v0.19.4](https://github.com/isaacus-dev/isaacus-python/compare/v0.19.3...v0.19.4) + +### Chores + +* **internal:** codegen related update ([025587b](https://github.com/isaacus-dev/isaacus-python/commit/025587b946c3ece7a34a346280dbd688880a7276)) + ## 0.19.3 (2026-03-03) Full Changelog: [v0.19.2...v0.19.3](https://github.com/isaacus-dev/isaacus-python/compare/v0.19.2...v0.19.3) diff --git a/pyproject.toml b/pyproject.toml index 5e636a5..23a676a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "isaacus" -version = "0.19.3" +version = "0.19.4" description = "The official Python library for the isaacus API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/isaacus/_version.py b/src/isaacus/_version.py index c406bb8..463f280 100644 --- a/src/isaacus/_version.py +++ b/src/isaacus/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "isaacus" -__version__ = "0.19.3" # x-release-please-version +__version__ = "0.19.4" # x-release-please-version