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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.0.0-alpha.19"
".": "2.0.0-alpha.20"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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 = "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"
Expand Down
2 changes: 1 addition & 1 deletion src/replicate/_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__ = "replicate"
__version__ = "2.0.0-alpha.19" # x-release-please-version
__version__ = "2.0.0-alpha.20" # x-release-please-version
4 changes: 2 additions & 2 deletions src/replicate/resources/deployments/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/replicate/resources/models/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/replicate/resources/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading