diff --git a/.release-please-manifest.json b/.release-please-manifest.json index cdcf20eb..276cb37a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.23.0" + ".": "1.23.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b6f7c20d..e3553693 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 46 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46640c1b468813b828be61b1af5cb5450f9555c4c757c5a740189906a8d56672.yml -openapi_spec_hash: 1d5845ae61d2c0a143db43d579b048c5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-994dba9c79ac2c892333168717abd8ffe2cb4d84d67d7e69c6cf9e566500d4dd.yml +openapi_spec_hash: 9720f3c873048c15f1f3c8f95f15ecd3 config_hash: 53778a0b839c4f6ad34fbba051f5e8a6 diff --git a/CHANGELOG.md b/CHANGELOG.md index b790daab..2582f714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.23.1 (2025-04-22) + +Full Changelog: [v1.23.0...v1.23.1](https://github.com/Finch-API/finch-api-python/compare/v1.23.0...v1.23.1) + +### Bug Fixes + +* **client:** revert "send all configured auth headers" ([8a2045e](https://github.com/Finch-API/finch-api-python/commit/8a2045ebf381fe2081ced51d743dfd5687171133)) + ## 1.23.0 (2025-04-21) Full Changelog: [v1.22.0...v1.23.0](https://github.com/Finch-API/finch-api-python/compare/v1.22.0...v1.23.0) diff --git a/pyproject.toml b/pyproject.toml index af1a9495..266ffa57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-api" -version = "1.23.0" +version = "1.23.1" description = "The official Python library for the Finch API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/finch/_client.py b/src/finch/_client.py index f5ef2acb..e98dadf2 100644 --- a/src/finch/_client.py +++ b/src/finch/_client.py @@ -147,7 +147,11 @@ def qs(self) -> Querystring: @property @override def auth_headers(self) -> dict[str, str]: - return {**self._bearer_auth, **self._basic_auth} + if self._bearer_auth: + return self._bearer_auth + if self._basic_auth: + return self._basic_auth + return {} @property def _bearer_auth(self) -> dict[str, str]: @@ -451,7 +455,11 @@ def qs(self) -> Querystring: @property @override def auth_headers(self) -> dict[str, str]: - return {**self._bearer_auth, **self._basic_auth} + if self._bearer_auth: + return self._bearer_auth + if self._basic_auth: + return self._basic_auth + return {} @property def _bearer_auth(self) -> dict[str, str]: diff --git a/src/finch/_version.py b/src/finch/_version.py index ef8bd37d..d569ae99 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__ = "1.23.0" # x-release-please-version +__version__ = "1.23.1" # x-release-please-version