From 50807fe3454c36376e479e0533fba94bbc47aa8a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 4 Jun 2025 01:29:43 +0000 Subject: [PATCH 1/2] feat(api): manual updates --- .stats.yml | 2 +- src/zeroentropy/pagination.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 482b6d4..5e6082f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 15 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-f06c49dfd4b38a4f9d5bcad56348156bbf641aa8b7968acfbf655ad6ceff2126.yml openapi_spec_hash: cac52dd65fbcb65ffa7a183e764b7f06 -config_hash: 34c8a6deaedce51a258bc46b38c9caa0 +config_hash: beba80a17ba64c5439712e85129ab5ad diff --git a/src/zeroentropy/pagination.py b/src/zeroentropy/pagination.py index 88e7e0d..143399a 100644 --- a/src/zeroentropy/pagination.py +++ b/src/zeroentropy/pagination.py @@ -12,7 +12,7 @@ @runtime_checkable class GetDocumentInfoListCursorItem(Protocol): - id: str + path: str class SyncGetDocumentInfoListCursor(BaseSyncPage[_T], BasePage[_T], Generic[_T]): @@ -32,11 +32,11 @@ def next_page_info(self) -> Optional[PageInfo]: return None item = cast(Any, documents[-1]) - if not isinstance(item, GetDocumentInfoListCursorItem) or item.id is None: # pyright: ignore[reportUnnecessaryComparison] + if not isinstance(item, GetDocumentInfoListCursorItem) or item.path is None: # pyright: ignore[reportUnnecessaryComparison] # TODO emit warning log return None - return PageInfo(json={"path_gt": item.id}) + return PageInfo(json={"path_gt": item.path}) class AsyncGetDocumentInfoListCursor(BaseAsyncPage[_T], BasePage[_T], Generic[_T]): @@ -56,8 +56,8 @@ def next_page_info(self) -> Optional[PageInfo]: return None item = cast(Any, documents[-1]) - if not isinstance(item, GetDocumentInfoListCursorItem) or item.id is None: # pyright: ignore[reportUnnecessaryComparison] + if not isinstance(item, GetDocumentInfoListCursorItem) or item.path is None: # pyright: ignore[reportUnnecessaryComparison] # TODO emit warning log return None - return PageInfo(json={"path_gt": item.id}) + return PageInfo(json={"path_gt": item.path}) From f5dd6bba835f826199a101fbd20ed3cc1f39b417 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 4 Jun 2025 01:30:00 +0000 Subject: [PATCH 2/2] release: 0.1.0-alpha.5 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/zeroentropy/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b56c3d0..e8285b7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.4" + ".": "0.1.0-alpha.5" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 32cf338..4a4c83f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.5 (2025-06-04) + +Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/zeroentropy-ai/zeroentropy-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5) + +### Features + +* **api:** manual updates ([50807fe](https://github.com/zeroentropy-ai/zeroentropy-python/commit/50807fe3454c36376e479e0533fba94bbc47aa8a)) + ## 0.1.0-alpha.4 (2025-06-03) Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/zeroentropy-ai/zeroentropy-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4) diff --git a/pyproject.toml b/pyproject.toml index 1cf44f6..3dc6cd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "zeroentropy" -version = "0.1.0-alpha.4" +version = "0.1.0-alpha.5" description = "The official Python library for the ZeroEntropy API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/zeroentropy/_version.py b/src/zeroentropy/_version.py index dd4cd31..9922b27 100644 --- a/src/zeroentropy/_version.py +++ b/src/zeroentropy/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "zeroentropy" -__version__ = "0.1.0-alpha.4" # x-release-please-version +__version__ = "0.1.0-alpha.5" # x-release-please-version