Skip to content

Commit c976aff

Browse files
release: 2.0.0-alpha.20 (#55)
* chore: update github action * chore: update OpenAPI spec and rebuild SDKs * release: 2.0.0-alpha.20 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 8c698f1 commit c976aff

File tree

9 files changed

+28
-12
lines changed

9 files changed

+28
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: ./scripts/lint
3737

3838
build:
39-
if: github.repository == 'stainless-sdks/replicate-client-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4040
timeout-minutes: 10
4141
name: build
4242
permissions:
@@ -61,12 +61,14 @@ jobs:
6161
run: rye build
6262

6363
- name: Get GitHub OIDC Token
64+
if: github.repository == 'stainless-sdks/replicate-client-python'
6465
id: github-oidc
6566
uses: actions/github-script@v6
6667
with:
6768
script: core.setOutput('github_token', await core.getIDToken());
6869

6970
- name: Upload tarball
71+
if: github.repository == 'stainless-sdks/replicate-client-python'
7072
env:
7173
URL: https://pkg.stainless.com/s
7274
AUTH: ${{ steps.github-oidc.outputs.github_token }}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.0.0-alpha.19"
2+
".": "2.0.0-alpha.20"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-e0e6031e9c2b95fb8048a3f641a975e9eda9dc3c1efa84174bbda31da2dd089d.yml
3-
openapi_spec_hash: 49f7758ff3e1894611407f703921fcaf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-866189e1aee643ae0367afba800d0e16239121deb5693a90ede9240b4053e9b3.yml
3+
openapi_spec_hash: 66b891957e455776e5bec76b033ec8e8
44
config_hash: b1b4f5d24ba07b4667ffe7b9dec081e3

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 2.0.0-alpha.20 (2025-08-25)
4+
5+
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)
6+
7+
### Bug Fixes
8+
9+
* add missing packaging dependency ([#54](https://github.com/replicate/replicate-python-stainless/issues/54)) ([8c698f1](https://github.com/replicate/replicate-python-stainless/commit/8c698f1a63266cb86b59bbc0a9e5258f7c25394a))
10+
11+
12+
### Chores
13+
14+
* update github action ([1c61a40](https://github.com/replicate/replicate-python-stainless/commit/1c61a40782062544ef5cb54994c5cf51d8747a76))
15+
* update OpenAPI spec and rebuild SDKs ([0179eac](https://github.com/replicate/replicate-python-stainless/commit/0179eacd9bc862a47f0c468fbf16a8b493852f8b))
16+
317
## 2.0.0-alpha.19 (2025-08-20)
418

519
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)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "replicate"
3-
version = "2.0.0-alpha.19"
3+
version = "2.0.0-alpha.20"
44
description = "The official Python library for the replicate API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/replicate/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "replicate"
4-
__version__ = "2.0.0-alpha.19" # x-release-please-version
4+
__version__ = "2.0.0-alpha.20" # x-release-please-version

src/replicate/resources/deployments/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def create(
7676
7777
The request will wait up to 60 seconds for the model to run. If this time is
7878
exceeded the prediction will be returned in a `"starting"` state and need to be
79-
retrieved using the `predictions.get` endpiont.
79+
retrieved using the `predictions.get` endpoint.
8080
8181
For a complete overview of the `deployments.predictions.create` API check out
8282
our documentation on
@@ -233,7 +233,7 @@ async def create(
233233
234234
The request will wait up to 60 seconds for the model to run. If this time is
235235
exceeded the prediction will be returned in a `"starting"` state and need to be
236-
retrieved using the `predictions.get` endpiont.
236+
retrieved using the `predictions.get` endpoint.
237237
238238
For a complete overview of the `deployments.predictions.create` API check out
239239
our documentation on

src/replicate/resources/models/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def create(
8383
8484
The request will wait up to 60 seconds for the model to run. If this time is
8585
exceeded the prediction will be returned in a `"starting"` state and need to be
86-
retrieved using the `predictions.get` endpiont.
86+
retrieved using the `predictions.get` endpoint.
8787
8888
For a complete overview of the `deployments.predictions.create` API check out
8989
our documentation on
@@ -245,7 +245,7 @@ async def create(
245245
246246
The request will wait up to 60 seconds for the model to run. If this time is
247247
exceeded the prediction will be returned in a `"starting"` state and need to be
248-
retrieved using the `predictions.get` endpiont.
248+
retrieved using the `predictions.get` endpoint.
249249
250250
For a complete overview of the `deployments.predictions.create` API check out
251251
our documentation on

src/replicate/resources/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def create(
9090
9191
The request will wait up to 60 seconds for the model to run. If this time is
9292
exceeded the prediction will be returned in a `"starting"` state and need to be
93-
retrieved using the `predictions.get` endpiont.
93+
retrieved using the `predictions.get` endpoint.
9494
9595
For a complete overview of the `predictions.create` API check out our
9696
documentation on
@@ -541,7 +541,7 @@ async def create(
541541
542542
The request will wait up to 60 seconds for the model to run. If this time is
543543
exceeded the prediction will be returned in a `"starting"` state and need to be
544-
retrieved using the `predictions.get` endpiont.
544+
retrieved using the `predictions.get` endpoint.
545545
546546
For a complete overview of the `predictions.create` API check out our
547547
documentation on

0 commit comments

Comments
 (0)