diff --git a/.release-please-manifest.json b/.release-please-manifest.json index de44c40..8255acf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.19.0" + ".": "1.19.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 5b8da89..7fc4abc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 27 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-5d59d9b7fffd1ac6f329a62fdc42c97bfa7821168eeea0d686a2d48d90963c34.yml -openapi_spec_hash: 61cd471624938b233f02dc17416946f2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-e864d762f50e49c0584bbf35eacc43cdb1397f805cca52cb8d4c07781739d0a3.yml +openapi_spec_hash: f511fefb34946e5878ac17f2b3056b1f config_hash: 9d144cc6c49d3fd53e5b4472c1e22165 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6498660..f3c51ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.19.1 (2026-05-09) + +Full Changelog: [v1.19.0...v1.19.1](https://github.com/moderation-api/sdk-python/compare/v1.19.0...v1.19.1) + +### Bug Fixes + +* **client:** add missing f-string prefix in file type error message ([3d020a4](https://github.com/moderation-api/sdk-python/commit/3d020a47af6b2155a6d09e4015b1e8da2c45c13d)) + ## 1.19.0 (2026-05-08) Full Changelog: [v1.18.0...v1.19.0](https://github.com/moderation-api/sdk-python/compare/v1.18.0...v1.19.0) diff --git a/pyproject.toml b/pyproject.toml index 6124771..138cf74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "1.19.0" +version = "1.19.1" description = "The official Python library for the moderation-api API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/moderation_api/_files.py b/src/moderation_api/_files.py index 0fdce17..76da9e0 100644 --- a/src/moderation_api/_files.py +++ b/src/moderation_api/_files.py @@ -99,7 +99,7 @@ async def async_to_httpx_files(files: RequestFiles | None) -> HttpxRequestFiles elif is_sequence_t(files): files = [(key, await _async_transform_file(file)) for key, file in files] else: - raise TypeError("Unexpected file type input {type(files)}, expected mapping or sequence") + raise TypeError(f"Unexpected file type input {type(files)}, expected mapping or sequence") return files diff --git a/src/moderation_api/_version.py b/src/moderation_api/_version.py index 6d652ff..38b1691 100644 --- a/src/moderation_api/_version.py +++ b/src/moderation_api/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "moderation_api" -__version__ = "1.19.0" # x-release-please-version +__version__ = "1.19.1" # x-release-please-version