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.29.0"
".": "1.30.0"
}
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-4f75d58eb24cf0975c540c0317b7e163a4b25fc41fe5da1751977ca703b812bf.yml
openapi_spec_hash: 87ae9898b5ba445f9785c1a10790cf7b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-317272429c96ee7d56a914736b87148fa21d8633cc852697ae293c50fde29531.yml
openapi_spec_hash: fb74bd59fcba6e28af9fe34844bb965f
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.30.0 (2026-07-23)

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

### Features

* **api:** api update ([3e2b5f0](https://github.com/moderation-api/sdk-python/commit/3e2b5f0b1b6836c1eb56c26d96e0b6f041fc0f9c))

## 1.29.0 (2026-07-20)

Full Changelog: [v1.28.0...v1.29.0](https://github.com/moderation-api/sdk-python/compare/v1.28.0...v1.29.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.29.0"
version = "1.30.0"
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.29.0" # x-release-please-version
__version__ = "1.30.0" # x-release-please-version
4 changes: 4 additions & 0 deletions src/moderation_api/types/content_submit_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, TypeAlias

from pydantic import Field as FieldInfo

from .._models import BaseModel

__all__ = [
Expand Down Expand Up @@ -236,6 +238,8 @@ class PolicyClassifierOutputLabel(BaseModel):

probability: float

shadow_flagged: Optional[bool] = FieldInfo(alias="shadowFlagged", default=None)


class PolicyClassifierOutput(BaseModel):
"""Classifier policy."""
Expand Down
Loading