diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 140cde9..eb9d9eb 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 9620bfba-8df9-4d0e-8796-8423b39f97f0 management: - docChecksum: c27787b45fc5b72aafff31ba945a9e61 + docChecksum: 38730339aa1da77855e86c169896f12f docVersion: 1.1.0 speakeasyVersion: internal generationVersion: internal - releaseVersion: 2.1.0 - configChecksum: dcbb9473f52855a62b1077cc63216b8d + releaseVersion: 2.1.1 + configChecksum: 3d9a12333f71c39e9fb299bc45245b92 repoURL: https://github.com/moderation-api/sdk-python installationURL: https://github.com/moderation-api/sdk-python.git published: true @@ -681,7 +681,7 @@ trackedFiles: pylintrc: last_write_checksum: sha1:cb40e5fd2885dcf20f7c572a590b2656efe282a0 pyproject.toml: - last_write_checksum: sha1:6242aa9a213ddc4cc915474b6733bff06344c5d5 + last_write_checksum: sha1:194d3d0511d59ba7a0fc47a58ed0253a3d74922d scripts/prepare_readme.py: last_write_checksum: sha1:7b330dc0eb57c916a1158fd90c6227f8dc517c83 scripts/publish.sh: @@ -695,7 +695,7 @@ trackedFiles: src/moderation_api/_hooks/types.py: last_write_checksum: sha1:bb2a67c388c536a910bd205bd9582065c5d2de39 src/moderation_api/_version.py: - last_write_checksum: sha1:f8a331162d341771db85dcce63b614858ab79d58 + last_write_checksum: sha1:3846cc0f16d9c62f387bc8ee9b1f3f7911ad8e49 src/moderation_api/account.py: last_write_checksum: sha1:b83155ed2e9ddea53715fef16adf03683ea99006 src/moderation_api/actions.py: @@ -859,7 +859,7 @@ trackedFiles: src/moderation_api/sdk.py: last_write_checksum: sha1:580ff8ec9ef32cc4f9a4e488a4a4f319f3a0304c src/moderation_api/sdkconfiguration.py: - last_write_checksum: sha1:86812fbbd7c1369f15f5163bf60163f933b1012e + last_write_checksum: sha1:80f7a8dc676b19a1c1a145d30be50f52e6a92672 src/moderation_api/types/__init__.py: last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 src/moderation_api/types/base64fileinput.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 21e708c..979bf98 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false python: - version: 2.1.0 + version: 2.1.1 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/openapi.json b/.speakeasy/openapi.json index 88ae723..31ff464 100644 --- a/.speakeasy/openapi.json +++ b/.speakeasy/openapi.json @@ -7,7 +7,7 @@ }, "servers": [ { - "url": "https://moderationapi.com/api/v1" + "url": "https://api.moderationapi.com/v1" } ], "tags": [ diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bceb4e..a5479e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.1.1 (2026-10-22) + +Full Changelog: [v2.1.0...v2.1.1](https://github.com/moderation-api/sdk-python/compare/v2.1.0...v2.1.1) + +### Chores + +- Update the generated code. + ## 2.1.0 (2026-10-22) Full Changelog: [v2.0.0...v2.1.0](https://github.com/moderation-api/sdk-python/compare/v2.0.0...v2.1.0) diff --git a/README.md b/README.md index e70f46d..f3652aa 100644 --- a/README.md +++ b/README.md @@ -589,7 +589,7 @@ import os with ModerationAPI( - server_url="https://moderationapi.com/api/v1", + server_url="https://api.moderationapi.com/v1", secret_key=os.getenv("MODAPI_SECRET_KEY", ""), ) as ma_client: diff --git a/pyproject.toml b/pyproject.toml index db1dec2..e9a9871 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moderation_api" -version = "2.1.0" +version = "2.1.1" description = "The official Python library for the Moderation API" authors = [{ name = "Moderation API" },] readme = "README-PYPI.md" diff --git a/src/moderation_api/_version.py b/src/moderation_api/_version.py index 5782a23..678d88a 100644 --- a/src/moderation_api/_version.py +++ b/src/moderation_api/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "moderation_api" -__version__: str = "2.1.0" +__version__: str = "2.1.1" __openapi_doc_version__: str = "1.1.0" __gen_version__: str = "internal" -__user_agent__: str = "speakeasy-sdk/python 2.1.0 internal 1.1.0 moderation_api" +__user_agent__: str = "speakeasy-sdk/python 2.1.1 internal 1.1.0 moderation_api" try: if __package__ is not None: diff --git a/src/moderation_api/sdkconfiguration.py b/src/moderation_api/sdkconfiguration.py index 8d8a9f9..7a3ff50 100644 --- a/src/moderation_api/sdkconfiguration.py +++ b/src/moderation_api/sdkconfiguration.py @@ -16,7 +16,7 @@ SERVERS = [ - "https://moderationapi.com/api/v1", + "https://api.moderationapi.com/v1", ] """Contains the list of servers available to the SDK"""