diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b97f04..dc76aa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: ./scripts/lint build: - if: github.repository == 'stainless-sdks/replicate-client-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork timeout-minutes: 10 name: build permissions: @@ -61,12 +61,14 @@ jobs: run: rye build - name: Get GitHub OIDC Token + if: github.repository == 'stainless-sdks/replicate-client-python' id: github-oidc uses: actions/github-script@v6 with: script: core.setOutput('github_token', await core.getIDToken()); - name: Upload tarball + if: github.repository == 'stainless-sdks/replicate-client-python' env: URL: https://pkg.stainless.com/s AUTH: ${{ steps.github-oidc.outputs.github_token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f8e81ce..376f5f8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.0-alpha.19" + ".": "2.0.0-alpha.20" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 48ea11b..23e69b5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 35 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-e0e6031e9c2b95fb8048a3f641a975e9eda9dc3c1efa84174bbda31da2dd089d.yml -openapi_spec_hash: 49f7758ff3e1894611407f703921fcaf +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-866189e1aee643ae0367afba800d0e16239121deb5693a90ede9240b4053e9b3.yml +openapi_spec_hash: 66b891957e455776e5bec76b033ec8e8 config_hash: b1b4f5d24ba07b4667ffe7b9dec081e3 diff --git a/CHANGELOG.md b/CHANGELOG.md index ca6b973..7b579ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 2.0.0-alpha.20 (2025-08-25) + +Full Changelog: [v2.0.0-alpha.19...v2.0.0-alpha.20](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) + +### Bug Fixes + +* add missing packaging dependency ([#54](https://github.com/replicate/replicate-python-stainless/issues/54)) ([8c698f1](https://github.com/replicate/replicate-python-stainless/commit/8c698f1a63266cb86b59bbc0a9e5258f7c25394a)) + + +### Chores + +* update github action ([1c61a40](https://github.com/replicate/replicate-python-stainless/commit/1c61a40782062544ef5cb54994c5cf51d8747a76)) +* update OpenAPI spec and rebuild SDKs ([0179eac](https://github.com/replicate/replicate-python-stainless/commit/0179eacd9bc862a47f0c468fbf16a8b493852f8b)) + ## 2.0.0-alpha.19 (2025-08-20) Full Changelog: [v2.0.0-alpha.18...v2.0.0-alpha.19](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) diff --git a/pyproject.toml b/pyproject.toml index cb2f3a4..914c36a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "replicate" -version = "2.0.0-alpha.19" +version = "2.0.0-alpha.20" description = "The official Python library for the replicate API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/replicate/_version.py b/src/replicate/_version.py index 80128ce..c02adf7 100644 --- a/src/replicate/_version.py +++ b/src/replicate/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "replicate" -__version__ = "2.0.0-alpha.19" # x-release-please-version +__version__ = "2.0.0-alpha.20" # x-release-please-version diff --git a/src/replicate/resources/deployments/predictions.py b/src/replicate/resources/deployments/predictions.py index 0f2914a..d4eb71f 100644 --- a/src/replicate/resources/deployments/predictions.py +++ b/src/replicate/resources/deployments/predictions.py @@ -76,7 +76,7 @@ def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `deployments.predictions.create` API check out our documentation on @@ -233,7 +233,7 @@ async def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `deployments.predictions.create` API check out our documentation on diff --git a/src/replicate/resources/models/predictions.py b/src/replicate/resources/models/predictions.py index 90f4d75..dcfb784 100644 --- a/src/replicate/resources/models/predictions.py +++ b/src/replicate/resources/models/predictions.py @@ -83,7 +83,7 @@ def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `deployments.predictions.create` API check out our documentation on @@ -245,7 +245,7 @@ async def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `deployments.predictions.create` API check out our documentation on diff --git a/src/replicate/resources/predictions.py b/src/replicate/resources/predictions.py index 0ba4867..04158d1 100644 --- a/src/replicate/resources/predictions.py +++ b/src/replicate/resources/predictions.py @@ -90,7 +90,7 @@ def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `predictions.create` API check out our documentation on @@ -541,7 +541,7 @@ async def create( The request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `"starting"` state and need to be - retrieved using the `predictions.get` endpiont. + retrieved using the `predictions.get` endpoint. For a complete overview of the `predictions.create` API check out our documentation on