From cd6dd86c1305ade9a5fa01d256c77e80aa6569de Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 01:19:56 +0000 Subject: [PATCH 1/7] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index bd562c4..f861228 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 6 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/landingai%2Fade-eeb4eb7952abc58f1b28144dbc17bc42da3780cbf9b375436188cf654901bb6b.yml -openapi_spec_hash: fe28a7763c5d084a9251109581c52b81 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/landingai%2Fade-62ce42134d4beaf8300c08d6703701fbaaffb737caa58b62da0a1824a05290c1.yml +openapi_spec_hash: 0500c26b20a94ad551f5d5a647a011a8 config_hash: 43f45ffa1cb556d90dcef6d742ed239f From 3b901a19b473a390aa3c5eebba0d108358f0d856 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 01:27:38 +0000 Subject: [PATCH 2/7] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index f861228..1959193 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 6 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/landingai%2Fade-62ce42134d4beaf8300c08d6703701fbaaffb737caa58b62da0a1824a05290c1.yml openapi_spec_hash: 0500c26b20a94ad551f5d5a647a011a8 -config_hash: 43f45ffa1cb556d90dcef6d742ed239f +config_hash: e8101fd147c425cd30880ddf8e069e79 From bb7dcc2b53dc8e3a1cbb22fb0f93a4a08811700d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 04:53:36 +0000 Subject: [PATCH 3/7] chore: format all `api.md` files --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 612aa44..fe47f73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ format = { chain = [ # run formatting again to fix any inconsistencies when imports are stripped "format:ruff", ]} -"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md" +"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'" "format:ruff" = "ruff format" "lint" = { chain = [ From 2c7cadfa52019266d1ebf4569bc0efc3f8a0c93c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 19:33:14 +0000 Subject: [PATCH 4/7] feat(api): improve multipart openapispec improve multipart openapispec --- src/landingai_ade/_client.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/landingai_ade/_client.py b/src/landingai_ade/_client.py index ec37f1f..bb97692 100644 --- a/src/landingai_ade/_client.py +++ b/src/landingai_ade/_client.py @@ -291,7 +291,7 @@ def extract( self, *, schema: str, - markdown: Union[FileTypes, str, None] | Omit = omit, + markdown: Optional[str] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, save_to: str | Path | None = None, @@ -317,7 +317,7 @@ def extract( are extracted from the Markdown. The schema must be a valid JSON object and will be validated before processing the document. - markdown: The Markdown file or Markdown content to extract data from. + markdown: Markdown content to extract data from. markdown_url: The URL to the Markdown file to extract data from. @@ -472,7 +472,7 @@ def split( self, *, split_class: Iterable[client_split_params.SplitClass], - markdown: Union[FileTypes, str, None] | Omit = omit, + markdown: Optional[str] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, save_to: str | Path | None = None, @@ -497,7 +497,7 @@ def split( split_class: List of split classification options/configuration. Can be provided as JSON string in form data. - markdown: The Markdown file or Markdown content to split. + markdown: Markdown content to split. markdown_url: The URL to the Markdown file to split. @@ -749,7 +749,7 @@ async def extract( self, *, schema: str, - markdown: Union[FileTypes, str, None] | Omit = omit, + markdown: Optional[str] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -774,7 +774,7 @@ async def extract( are extracted from the Markdown. The schema must be a valid JSON object and will be validated before processing the document. - markdown: The Markdown file or Markdown content to extract data from. + markdown: Markdown content to extract data from. markdown_url: The URL to the Markdown file to extract data from. @@ -906,7 +906,7 @@ async def split( self, *, split_class: Iterable[client_split_params.SplitClass], - markdown: Union[FileTypes, str, None] | Omit = omit, + markdown: Optional[str] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -930,7 +930,7 @@ async def split( split_class: List of split classification options/configuration. Can be provided as JSON string in form data. - markdown: The Markdown file or Markdown content to split. + markdown: Markdown content to split. markdown_url: The URL to the Markdown file to split. @@ -953,10 +953,11 @@ async def split( } ) files = extract_files(cast(Mapping[str, object], body), paths=[["markdown"]]) - # It should be noted that the actual Content-Type header that will be - # sent to the server will contain a `boundary` parameter, e.g. - # multipart/form-data; boundary=---abc-- - extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} + if files: + # It should be noted that the actual Content-Type header that will be + # sent to the server will contain a `boundary` parameter, e.g. + # multipart/form-data; boundary=---abc-- + extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} return await self.post( "/v1/ade/split", body=await async_maybe_transform(body, client_split_params.ClientSplitParams), From de3eaf846c3b3c277ffc4d20b28a727ff2b88cab Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 19:10:31 +0000 Subject: [PATCH 5/7] codegen metadata From 7d3f8a3bbc4e9cf84d3e30559652d5cdf5004c4f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 19:12:52 +0000 Subject: [PATCH 6/7] feat(api): manual updates --- src/landingai_ade/_client.py | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/landingai_ade/_client.py b/src/landingai_ade/_client.py index bb97692..ec37f1f 100644 --- a/src/landingai_ade/_client.py +++ b/src/landingai_ade/_client.py @@ -291,7 +291,7 @@ def extract( self, *, schema: str, - markdown: Optional[str] | Omit = omit, + markdown: Union[FileTypes, str, None] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, save_to: str | Path | None = None, @@ -317,7 +317,7 @@ def extract( are extracted from the Markdown. The schema must be a valid JSON object and will be validated before processing the document. - markdown: Markdown content to extract data from. + markdown: The Markdown file or Markdown content to extract data from. markdown_url: The URL to the Markdown file to extract data from. @@ -472,7 +472,7 @@ def split( self, *, split_class: Iterable[client_split_params.SplitClass], - markdown: Optional[str] | Omit = omit, + markdown: Union[FileTypes, str, None] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, save_to: str | Path | None = None, @@ -497,7 +497,7 @@ def split( split_class: List of split classification options/configuration. Can be provided as JSON string in form data. - markdown: Markdown content to split. + markdown: The Markdown file or Markdown content to split. markdown_url: The URL to the Markdown file to split. @@ -749,7 +749,7 @@ async def extract( self, *, schema: str, - markdown: Optional[str] | Omit = omit, + markdown: Union[FileTypes, str, None] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -774,7 +774,7 @@ async def extract( are extracted from the Markdown. The schema must be a valid JSON object and will be validated before processing the document. - markdown: Markdown content to extract data from. + markdown: The Markdown file or Markdown content to extract data from. markdown_url: The URL to the Markdown file to extract data from. @@ -906,7 +906,7 @@ async def split( self, *, split_class: Iterable[client_split_params.SplitClass], - markdown: Optional[str] | Omit = omit, + markdown: Union[FileTypes, str, None] | Omit = omit, markdown_url: Optional[str] | Omit = omit, model: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -930,7 +930,7 @@ async def split( split_class: List of split classification options/configuration. Can be provided as JSON string in form data. - markdown: Markdown content to split. + markdown: The Markdown file or Markdown content to split. markdown_url: The URL to the Markdown file to split. @@ -953,11 +953,10 @@ async def split( } ) files = extract_files(cast(Mapping[str, object], body), paths=[["markdown"]]) - if files: - # It should be noted that the actual Content-Type header that will be - # sent to the server will contain a `boundary` parameter, e.g. - # multipart/form-data; boundary=---abc-- - extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} + # It should be noted that the actual Content-Type header that will be + # sent to the server will contain a `boundary` parameter, e.g. + # multipart/form-data; boundary=---abc-- + extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})} return await self.post( "/v1/ade/split", body=await async_maybe_transform(body, client_split_params.ClientSplitParams), From cde98f4aafbdfd47a853d8a1942c9caf9329b5ac Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 19:40:41 +0000 Subject: [PATCH 7/7] release: 1.7.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- src/landingai_ade/_version.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7deae33..cce9d1c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.6.0" + ".": "1.7.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c9dd2..ad7b7d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 1.7.0 (2026-02-13) + +Full Changelog: [v1.6.0...v1.7.0](https://github.com/landing-ai/ade-python/compare/v1.6.0...v1.7.0) + +### Features + +* **api:** improve multipart openapispec ([2c7cadf](https://github.com/landing-ai/ade-python/commit/2c7cadfa52019266d1ebf4569bc0efc3f8a0c93c)) +* **api:** manual updates ([7d3f8a3](https://github.com/landing-ai/ade-python/commit/7d3f8a3bbc4e9cf84d3e30559652d5cdf5004c4f)) + + +### Chores + +* format all `api.md` files ([bb7dcc2](https://github.com/landing-ai/ade-python/commit/bb7dcc2b53dc8e3a1cbb22fb0f93a4a08811700d)) + ## 1.6.0 (2026-02-13) Full Changelog: [v1.5.0...v1.6.0](https://github.com/landing-ai/ade-python/compare/v1.5.0...v1.6.0) diff --git a/pyproject.toml b/pyproject.toml index fe47f73..3c801a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "landingai-ade" -version = "1.6.0" +version = "1.7.0" description = "The official Python library for the landingai-ade API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/landingai_ade/_version.py b/src/landingai_ade/_version.py index c74e67e..bc10bc2 100644 --- a/src/landingai_ade/_version.py +++ b/src/landingai_ade/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "landingai_ade" -__version__ = "1.6.0" # x-release-please-version +__version__ = "1.7.0" # x-release-please-version