Skip to content

Commit 84a6a42

Browse files
authored
Merge pull request #15 from replicate/release-please--branches--main--changes--next
release: 0.1.0
2 parents f073049 + 317411a commit 84a6a42

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-0d7d82bff8a18b03e0cd1cbf8609c3026bb07db851bc6f9166032045a9925eea.yml
3-
openapi_spec_hash: 8ce211dfa6fece24b1413e91ba55210a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-2088d647e7b0fd37dcf58ef48b8f01ed1a82ff797b9697ad10a7b6a5105e9e0f.yml
3+
openapi_spec_hash: 718f540e7c44501e1a8c7156ee45d595
44
config_hash: 927b6ebc00ee115763ad69483bbf5566

CHANGELOG.md

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

3+
## 0.1.0 (2025-05-07)
4+
5+
Full Changelog: [v0.1.0-alpha.10...v0.1.0](https://github.com/replicate/replicate-python-stainless/compare/v0.1.0-alpha.10...v0.1.0)
6+
7+
### Features
8+
9+
* **api:** api update ([e889b3d](https://github.com/replicate/replicate-python-stainless/commit/e889b3d0950cac908d53f0afef0660e50d822455))
10+
311
## 0.1.0-alpha.10 (2025-05-06)
412

513
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/replicate/replicate-python-stainless/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The REST API documentation can be found on [replicate.com](https://replicate.com
1616

1717
```sh
1818
# install from PyPI
19-
pip install --pre replicate-stainless
19+
pip install replicate-stainless
2020
```
2121

2222
## Usage

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-stainless"
3-
version = "0.1.0-alpha.10"
3+
version = "0.1.0"
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__ = "0.1.0-alpha.10" # x-release-please-version
4+
__version__ = "0.1.0" # x-release-please-version

src/replicate/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from __future__ import annotations
44

55
from .prediction import Prediction as Prediction
6-
from .prediction_output import PredictionOutput as PredictionOutput
76
from .model_create_params import ModelCreateParams as ModelCreateParams
87
from .model_list_response import ModelListResponse as ModelListResponse
98
from .model_search_params import ModelSearchParams as ModelSearchParams

src/replicate/types/prediction.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing_extensions import Literal
66

77
from .._models import BaseModel
8-
from .prediction_output import PredictionOutput
98

109
__all__ = ["Prediction", "URLs"]
1110

@@ -39,7 +38,11 @@ class Prediction(BaseModel):
3938
model: str
4039
"""The name of the model that created the prediction"""
4140

42-
output: PredictionOutput
41+
output: object
42+
"""
43+
The prediction output, which can be any JSON-serializable value, depending on
44+
the model
45+
"""
4346

4447
status: Literal["starting", "processing", "succeeded", "failed", "canceled"]
4548

src/replicate/types/prediction_output.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)