From e37920b87a1d906a4df0b6cdf38a1ca29c04a9d0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 12:58:46 +0000 Subject: [PATCH 1/4] chore(internal): minor formatting changes (#385) --- tests/test_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_client.py b/tests/test_client.py index 7fb8e3d8..7863d7a1 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -384,6 +384,7 @@ def test_validate_headers(self) -> None: client_secret=client_secret, _strict_response_validation=True, ) + with pytest.raises( TypeError, match="Could not resolve authentication method. Expected either access_token, sandbox_client_id or sandbox_client_secret to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted", @@ -1300,6 +1301,7 @@ def test_validate_headers(self) -> None: client_secret=client_secret, _strict_response_validation=True, ) + with pytest.raises( TypeError, match="Could not resolve authentication method. Expected either access_token, sandbox_client_id or sandbox_client_secret to be set. Or for one of the `Authorization` or `Authorization` headers to be explicitly omitted", From 2a258bfbbf778a399e30924531e36fc7106de611 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 May 2024 13:34:05 +0000 Subject: [PATCH 2/4] chore(tests): update some example values (#387) --- .stats.yml | 2 +- tests/api_resources/test_access_tokens.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 70538c9e..638c1ffb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 35 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-55ff507660a4f8b4a1809ca01861098c7bc72e8e6ea038fb3aa8c0a3b9a954e2.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-29792ccf0733c5605b8c1d3cc2e80d93d364a8cdf1a66e8db7f425b60ea38ced.yml diff --git a/tests/api_resources/test_access_tokens.py b/tests/api_resources/test_access_tokens.py index 92c16f0e..b3511e78 100644 --- a/tests/api_resources/test_access_tokens.py +++ b/tests/api_resources/test_access_tokens.py @@ -28,7 +28,7 @@ def test_method_create(self, client: Finch) -> None: def test_method_create_with_all_params(self, client: Finch) -> None: access_token = client.access_tokens.create( code="", - client_id="12345678-1234-1234-1234-123456789ABC", + client_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", client_secret="", redirect_uri="https://example.com", ) @@ -73,7 +73,7 @@ async def test_method_create(self, async_client: AsyncFinch) -> None: async def test_method_create_with_all_params(self, async_client: AsyncFinch) -> None: access_token = await async_client.access_tokens.create( code="", - client_id="12345678-1234-1234-1234-123456789ABC", + client_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", client_secret="", redirect_uri="https://example.com", ) From aab9507ab67f3d208c1f5c920be553f000629ab6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 May 2024 15:59:31 +0000 Subject: [PATCH 3/4] chore(internal): resolve spec formatting issue (#388) --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 638c1ffb..506dea77 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 35 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-29792ccf0733c5605b8c1d3cc2e80d93d364a8cdf1a66e8db7f425b60ea38ced.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-a278884107d48c04133891fff0d1123a97169758e2baa82411009277932795af.yml From bdce341fb120481a83ede98c731a4afb85c402ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 May 2024 15:59:48 +0000 Subject: [PATCH 4/4] release: 0.20.8 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 10 ++++++++++ pyproject.toml | 2 +- src/finch/_version.py | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1b5a0a43..b564a2b3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.20.7" + ".": "0.20.8" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index af3b9c3d..8d89f211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.20.8 (2024-05-17) + +Full Changelog: [v0.20.7...v0.20.8](https://github.com/Finch-API/finch-api-python/compare/v0.20.7...v0.20.8) + +### Chores + +* **internal:** minor formatting changes ([#385](https://github.com/Finch-API/finch-api-python/issues/385)) ([e37920b](https://github.com/Finch-API/finch-api-python/commit/e37920b87a1d906a4df0b6cdf38a1ca29c04a9d0)) +* **internal:** resolve spec formatting issue ([#388](https://github.com/Finch-API/finch-api-python/issues/388)) ([aab9507](https://github.com/Finch-API/finch-api-python/commit/aab9507ab67f3d208c1f5c920be553f000629ab6)) +* **tests:** update some example values ([#387](https://github.com/Finch-API/finch-api-python/issues/387)) ([2a258bf](https://github.com/Finch-API/finch-api-python/commit/2a258bfbbf778a399e30924531e36fc7106de611)) + ## 0.20.7 (2024-05-14) Full Changelog: [v0.20.6...v0.20.7](https://github.com/Finch-API/finch-api-python/compare/v0.20.6...v0.20.7) diff --git a/pyproject.toml b/pyproject.toml index 4812ec14..ad815e55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-api" -version = "0.20.7" +version = "0.20.8" description = "The official Python library for the Finch API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/finch/_version.py b/src/finch/_version.py index a24a11a7..e38b3255 100644 --- a/src/finch/_version.py +++ b/src/finch/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "finch" -__version__ = "0.20.7" # x-release-please-version +__version__ = "0.20.8" # x-release-please-version