Skip to content

Commit af6ae70

Browse files
release: 2.0.0-alpha.21 (#56)
* chore(internal): change ci workflow machines * fix: avoid newer type syntax * chore(internal): update pyright exclude list * release: 2.0.0-alpha.21 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent c976aff commit af6ae70

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
permissions:
4343
contents: read
4444
id-token: write
45-
runs-on: depot-ubuntu-24.04
45+
runs-on: ${{ github.repository == 'stainless-sdks/replicate-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4646
steps:
4747
- uses: actions/checkout@v4
4848

.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.20"
2+
".": "2.0.0-alpha.21"
33
}

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.21 (2025-08-26)
4+
5+
Full Changelog: [v2.0.0-alpha.20...v2.0.0-alpha.21](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.20...v2.0.0-alpha.21)
6+
7+
### Bug Fixes
8+
9+
* avoid newer type syntax ([7a3be3b](https://github.com/replicate/replicate-python-stainless/commit/7a3be3bb9ec3b1b2476b394fe9733ff0726d3fd0))
10+
11+
12+
### Chores
13+
14+
* **internal:** change ci workflow machines ([71bfc70](https://github.com/replicate/replicate-python-stainless/commit/71bfc705832f9fd1d8a34f2944e2a3cd68788c81))
15+
* **internal:** update pyright exclude list ([6906d75](https://github.com/replicate/replicate-python-stainless/commit/6906d752450d3081f63ebd14db74a52b4c7eaf37))
16+
317
## 2.0.0-alpha.20 (2025-08-25)
418

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

pyproject.toml

Lines changed: 2 additions & 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.20"
3+
version = "2.0.0-alpha.21"
44
description = "The official Python library for the replicate API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -149,6 +149,7 @@ exclude = [
149149
"_dev",
150150
".venv",
151151
".nox",
152+
".git",
152153
]
153154

154155
reportImplicitOverride = true

src/replicate/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def model_dump(
304304
exclude_none=exclude_none,
305305
)
306306

307-
return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
307+
return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
308308

309309
@override
310310
def model_dump_json(

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.20" # x-release-please-version
4+
__version__ = "2.0.0-alpha.21" # x-release-please-version

0 commit comments

Comments
 (0)