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/.stats.yml b/.stats.yml index 70538c9e..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-55ff507660a4f8b4a1809ca01861098c7bc72e8e6ea038fb3aa8c0a3b9a954e2.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-a278884107d48c04133891fff0d1123a97169758e2baa82411009277932795af.yml 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 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", ) 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",