Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.25.0"
".": "1.25.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-f98e3ca6513c4ec22c2cf595a503c80649356ec0977d7e4ec592139aebf945a8.yml
openapi_spec_hash: 94799eb5a21fc7c9350e9b0678b00ca2
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-c3aa8563e03f0cddc62cbbc8ad42dcbd6f35b4652fd2dd09e0eb4d6a41364872.yml
openapi_spec_hash: 4647c8878266624f4af6605277061a59
config_hash: 9d144cc6c49d3fd53e5b4472c1e22165
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.25.1 (2026-06-30)

Full Changelog: [v1.25.0...v1.25.1](https://github.com/moderation-api/sdk-python/compare/v1.25.0...v1.25.1)

### Bug Fixes

* **types:** avoid type-checker errors on params with additional properties ([348fae3](https://github.com/moderation-api/sdk-python/commit/348fae3cbebd21db329ad5eaed0d8222a1275911))

## 1.25.0 (2026-06-18)

Full Changelog: [v1.24.0...v1.25.0](https://github.com/moderation-api/sdk-python/compare/v1.24.0...v1.25.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "moderation_api"
version = "1.25.0"
version = "1.25.1"
description = "The official Python library for the moderation-api API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/moderation_api/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "moderation_api"
__version__ = "1.25.0" # x-release-please-version
__version__ = "1.25.1" # x-release-please-version
6 changes: 5 additions & 1 deletion src/moderation_api/types/author_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ class AuthorCreateParams(TypedDict, total=False):
"""URL of the author's profile picture"""


class Metadata(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
class Metadata( # type: ignore[call-arg]
TypedDict,
total=False,
extra_items=object, # pyright: ignore[reportGeneralTypeIssues]
):
"""Additional metadata provided by your system.

We recommend including any relevant information that may assist in the moderation process.
Expand Down
6 changes: 5 additions & 1 deletion src/moderation_api/types/author_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ class AuthorUpdateParams(TypedDict, total=False):
"""URL of the author's profile picture"""


class Metadata(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
class Metadata( # type: ignore[call-arg]
TypedDict,
total=False,
extra_items=object, # pyright: ignore[reportGeneralTypeIssues]
):
"""Additional metadata provided by your system.

We recommend including any relevant information that may assist in the moderation process.
Expand Down
12 changes: 10 additions & 2 deletions src/moderation_api/types/content_submit_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,11 @@ class PolicyCodeAbuse(TypedDict, total=False):
threshold: float


class PolicyPiiMaskingEntities(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
class PolicyPiiMaskingEntities( # type: ignore[call-arg]
TypedDict,
total=False,
extra_items=object, # pyright: ignore[reportGeneralTypeIssues]
):
enable: bool

flag: bool
Expand All @@ -466,7 +470,11 @@ class PolicyPiiMasking(TypedDict, total=False):
entities: Required[Dict[str, PolicyPiiMaskingEntities]]


class PolicyURLMaskingEntities(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
class PolicyURLMaskingEntities( # type: ignore[call-arg]
TypedDict,
total=False,
extra_items=object, # pyright: ignore[reportGeneralTypeIssues]
):
enable: bool

flag: bool
Expand Down
Loading