From 12b6674c5e050a83614c4f50fd0a6f848747aa94 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 5 Feb 2026 01:08:57 +0000 Subject: [PATCH 1/2] feat(sdk): make qa, universal, ilgs standalone apis --- .stats.yml | 2 +- api.md | 10 ++++------ src/isaacus/resources/classifications/__init__.py | 14 -------------- src/isaacus/resources/classifications/universal.py | 4 ++-- src/isaacus/resources/extractions/__init__.py | 14 -------------- src/isaacus/resources/extractions/qa.py | 4 ++-- src/isaacus/types/classifications/__init__.py | 3 --- .../types/classifications/universal/__init__.py | 6 ++++++ .../universal_classification_response.py | 2 +- .../{ => universal}/universal_create_params.py | 2 +- src/isaacus/types/extractions/__init__.py | 3 --- src/isaacus/types/extractions/qa/__init__.py | 6 ++++++ .../{ => qa}/answer_extraction_response.py | 2 +- .../types/extractions/{ => qa}/qa_create_params.py | 2 +- .../classifications/test_universal.py | 2 +- tests/api_resources/extractions/test_qa.py | 2 +- 16 files changed, 27 insertions(+), 51 deletions(-) create mode 100644 src/isaacus/types/classifications/universal/__init__.py rename src/isaacus/types/classifications/{ => universal}/universal_classification_response.py (98%) rename src/isaacus/types/classifications/{ => universal}/universal_create_params.py (98%) create mode 100644 src/isaacus/types/extractions/qa/__init__.py rename src/isaacus/types/extractions/{ => qa}/answer_extraction_response.py (98%) rename src/isaacus/types/extractions/{ => qa}/qa_create_params.py (98%) diff --git a/.stats.yml b/.stats.yml index 178efec..c2ea1e0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 5 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-a9cacf65cf152a5f4fdd8de8d28c979452c67c28a7e765075638b817d330d121.yml openapi_spec_hash: 8343f878342e9d128695b85fecb93dc5 -config_hash: 7b8cddc2fa896f9ab05e6b05055c7f27 +config_hash: 9040e7359f066240ad536041fb2c5185 diff --git a/api.md b/api.md index c4c5055..4e5123a 100644 --- a/api.md +++ b/api.md @@ -17,12 +17,12 @@ Methods: Types: ```python -from isaacus.types.classifications import UniversalClassificationResponse +from isaacus.types.classifications.universal import UniversalClassificationResponse ``` Methods: -- client.classifications.universal.create(\*\*params) -> UniversalClassificationResponse +- client.classifications.universal.create(\*\*params) -> UniversalClassificationResponse # Rerankings @@ -43,12 +43,12 @@ Methods: Types: ```python -from isaacus.types.extractions import AnswerExtractionResponse +from isaacus.types.extractions.qa import AnswerExtractionResponse ``` Methods: -- client.extractions.qa.create(\*\*params) -> AnswerExtractionResponse +- client.extractions.qa.create(\*\*params) -> AnswerExtractionResponse # Enrichments @@ -66,8 +66,6 @@ Methods: ## v1 -### v1 - Types: ```python diff --git a/src/isaacus/resources/classifications/__init__.py b/src/isaacus/resources/classifications/__init__.py index 646ad79..3d7a144 100644 --- a/src/isaacus/resources/classifications/__init__.py +++ b/src/isaacus/resources/classifications/__init__.py @@ -1,13 +1,5 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from .universal import ( - UniversalResource, - AsyncUniversalResource, - UniversalResourceWithRawResponse, - AsyncUniversalResourceWithRawResponse, - UniversalResourceWithStreamingResponse, - AsyncUniversalResourceWithStreamingResponse, -) from .classifications import ( ClassificationsResource, AsyncClassificationsResource, @@ -18,12 +10,6 @@ ) __all__ = [ - "UniversalResource", - "AsyncUniversalResource", - "UniversalResourceWithRawResponse", - "AsyncUniversalResourceWithRawResponse", - "UniversalResourceWithStreamingResponse", - "AsyncUniversalResourceWithStreamingResponse", "ClassificationsResource", "AsyncClassificationsResource", "ClassificationsResourceWithRawResponse", diff --git a/src/isaacus/resources/classifications/universal.py b/src/isaacus/resources/classifications/universal.py index 780394b..0a6e317 100644 --- a/src/isaacus/resources/classifications/universal.py +++ b/src/isaacus/resources/classifications/universal.py @@ -18,8 +18,8 @@ async_to_streamed_response_wrapper, ) from ..._base_client import make_request_options -from ...types.classifications import universal_create_params -from ...types.classifications.universal_classification_response import UniversalClassificationResponse +from ...types.classifications.universal import universal_create_params +from ...types.classifications.universal.universal_classification_response import UniversalClassificationResponse __all__ = ["UniversalResource", "AsyncUniversalResource"] diff --git a/src/isaacus/resources/extractions/__init__.py b/src/isaacus/resources/extractions/__init__.py index f36d186..6e27d86 100644 --- a/src/isaacus/resources/extractions/__init__.py +++ b/src/isaacus/resources/extractions/__init__.py @@ -1,13 +1,5 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from .qa import ( - QAResource, - AsyncQAResource, - QAResourceWithRawResponse, - AsyncQAResourceWithRawResponse, - QAResourceWithStreamingResponse, - AsyncQAResourceWithStreamingResponse, -) from .extractions import ( ExtractionsResource, AsyncExtractionsResource, @@ -18,12 +10,6 @@ ) __all__ = [ - "QAResource", - "AsyncQAResource", - "QAResourceWithRawResponse", - "AsyncQAResourceWithRawResponse", - "QAResourceWithStreamingResponse", - "AsyncQAResourceWithStreamingResponse", "ExtractionsResource", "AsyncExtractionsResource", "ExtractionsResourceWithRawResponse", diff --git a/src/isaacus/resources/extractions/qa.py b/src/isaacus/resources/extractions/qa.py index 454f3e0..8f2ca4c 100644 --- a/src/isaacus/resources/extractions/qa.py +++ b/src/isaacus/resources/extractions/qa.py @@ -18,8 +18,8 @@ async_to_streamed_response_wrapper, ) from ..._base_client import make_request_options -from ...types.extractions import qa_create_params -from ...types.extractions.answer_extraction_response import AnswerExtractionResponse +from ...types.extractions.qa import qa_create_params +from ...types.extractions.qa.answer_extraction_response import AnswerExtractionResponse __all__ = ["QAResource", "AsyncQAResource"] diff --git a/src/isaacus/types/classifications/__init__.py b/src/isaacus/types/classifications/__init__.py index ed68aaf..f8ee8b1 100644 --- a/src/isaacus/types/classifications/__init__.py +++ b/src/isaacus/types/classifications/__init__.py @@ -1,6 +1,3 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. from __future__ import annotations - -from .universal_create_params import UniversalCreateParams as UniversalCreateParams -from .universal_classification_response import UniversalClassificationResponse as UniversalClassificationResponse diff --git a/src/isaacus/types/classifications/universal/__init__.py b/src/isaacus/types/classifications/universal/__init__.py new file mode 100644 index 0000000..ed68aaf --- /dev/null +++ b/src/isaacus/types/classifications/universal/__init__.py @@ -0,0 +1,6 @@ +# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +from __future__ import annotations + +from .universal_create_params import UniversalCreateParams as UniversalCreateParams +from .universal_classification_response import UniversalClassificationResponse as UniversalClassificationResponse diff --git a/src/isaacus/types/classifications/universal_classification_response.py b/src/isaacus/types/classifications/universal/universal_classification_response.py similarity index 98% rename from src/isaacus/types/classifications/universal_classification_response.py rename to src/isaacus/types/classifications/universal/universal_classification_response.py index 1c574fe..b546438 100644 --- a/src/isaacus/types/classifications/universal_classification_response.py +++ b/src/isaacus/types/classifications/universal/universal_classification_response.py @@ -2,7 +2,7 @@ from typing import List, Optional -from ..._models import BaseModel +from ...._models import BaseModel __all__ = ["UniversalClassificationResponse", "Classification", "ClassificationChunk", "Usage"] diff --git a/src/isaacus/types/classifications/universal_create_params.py b/src/isaacus/types/classifications/universal/universal_create_params.py similarity index 98% rename from src/isaacus/types/classifications/universal_create_params.py rename to src/isaacus/types/classifications/universal/universal_create_params.py index 8130d0e..d5833ab 100644 --- a/src/isaacus/types/classifications/universal_create_params.py +++ b/src/isaacus/types/classifications/universal/universal_create_params.py @@ -5,7 +5,7 @@ from typing import Optional from typing_extensions import Literal, Required, TypedDict -from ..._types import SequenceNotStr +from ...._types import SequenceNotStr __all__ = ["UniversalCreateParams", "ChunkingOptions"] diff --git a/src/isaacus/types/extractions/__init__.py b/src/isaacus/types/extractions/__init__.py index a23d9ed..f8ee8b1 100644 --- a/src/isaacus/types/extractions/__init__.py +++ b/src/isaacus/types/extractions/__init__.py @@ -1,6 +1,3 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. from __future__ import annotations - -from .qa_create_params import QACreateParams as QACreateParams -from .answer_extraction_response import AnswerExtractionResponse as AnswerExtractionResponse diff --git a/src/isaacus/types/extractions/qa/__init__.py b/src/isaacus/types/extractions/qa/__init__.py new file mode 100644 index 0000000..a23d9ed --- /dev/null +++ b/src/isaacus/types/extractions/qa/__init__.py @@ -0,0 +1,6 @@ +# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +from __future__ import annotations + +from .qa_create_params import QACreateParams as QACreateParams +from .answer_extraction_response import AnswerExtractionResponse as AnswerExtractionResponse diff --git a/src/isaacus/types/extractions/answer_extraction_response.py b/src/isaacus/types/extractions/qa/answer_extraction_response.py similarity index 98% rename from src/isaacus/types/extractions/answer_extraction_response.py rename to src/isaacus/types/extractions/qa/answer_extraction_response.py index c6df224..1b5cf96 100644 --- a/src/isaacus/types/extractions/answer_extraction_response.py +++ b/src/isaacus/types/extractions/qa/answer_extraction_response.py @@ -2,7 +2,7 @@ from typing import List -from ..._models import BaseModel +from ...._models import BaseModel __all__ = ["AnswerExtractionResponse", "Extraction", "ExtractionAnswer", "Usage"] diff --git a/src/isaacus/types/extractions/qa_create_params.py b/src/isaacus/types/extractions/qa/qa_create_params.py similarity index 98% rename from src/isaacus/types/extractions/qa_create_params.py rename to src/isaacus/types/extractions/qa/qa_create_params.py index 994fc00..fbd1715 100644 --- a/src/isaacus/types/extractions/qa_create_params.py +++ b/src/isaacus/types/extractions/qa/qa_create_params.py @@ -5,7 +5,7 @@ from typing import Optional from typing_extensions import Literal, Required, TypedDict -from ..._types import SequenceNotStr +from ...._types import SequenceNotStr __all__ = ["QACreateParams", "ChunkingOptions"] diff --git a/tests/api_resources/classifications/test_universal.py b/tests/api_resources/classifications/test_universal.py index c85ac3a..a6595d4 100644 --- a/tests/api_resources/classifications/test_universal.py +++ b/tests/api_resources/classifications/test_universal.py @@ -9,7 +9,7 @@ from isaacus import Isaacus, AsyncIsaacus from tests.utils import assert_matches_type -from isaacus.types.classifications import UniversalClassificationResponse +from isaacus.types.classifications.universal import UniversalClassificationResponse base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") diff --git a/tests/api_resources/extractions/test_qa.py b/tests/api_resources/extractions/test_qa.py index 9aa7ecb..029690a 100644 --- a/tests/api_resources/extractions/test_qa.py +++ b/tests/api_resources/extractions/test_qa.py @@ -9,7 +9,7 @@ from isaacus import Isaacus, AsyncIsaacus from tests.utils import assert_matches_type -from isaacus.types.extractions import AnswerExtractionResponse +from isaacus.types.extractions.qa import AnswerExtractionResponse base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") From 2b20dfff64c6554f0cdef3367d80410328a64a16 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 5 Feb 2026 01:09:13 +0000 Subject: [PATCH 2/2] release: 0.17.0 --- .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 b4e9013..6db19b9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.16.0" + ".": "0.17.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d660ee..757914b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.17.0 (2026-02-05) + +Full Changelog: [v0.16.0...v0.17.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.16.0...v0.17.0) + +### Features + +* **sdk:** make qa, universal, ilgs standalone apis ([12b6674](https://github.com/isaacus-dev/isaacus-python/commit/12b6674c5e050a83614c4f50fd0a6f848747aa94)) + ## 0.16.0 (2026-02-04) Full Changelog: [v0.15.0...v0.16.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.15.0...v0.16.0) diff --git a/pyproject.toml b/pyproject.toml index 0ea4b13..8112e7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "isaacus" -version = "0.16.0" +version = "0.17.0" 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 d65d638..52bc8e2 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.16.0" # x-release-please-version +__version__ = "0.17.0" # x-release-please-version