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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.10"
".": "0.1.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-0d7d82bff8a18b03e0cd1cbf8609c3026bb07db851bc6f9166032045a9925eea.yml
openapi_spec_hash: 8ce211dfa6fece24b1413e91ba55210a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-2088d647e7b0fd37dcf58ef48b8f01ed1a82ff797b9697ad10a7b6a5105e9e0f.yml
openapi_spec_hash: 718f540e7c44501e1a8c7156ee45d595
config_hash: 927b6ebc00ee115763ad69483bbf5566
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0 (2025-05-07)

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)

### Features

* **api:** api update ([e889b3d](https://github.com/replicate/replicate-python-stainless/commit/e889b3d0950cac908d53f0afef0660e50d822455))

## 0.1.0-alpha.10 (2025-05-06)

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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The REST API documentation can be found on [replicate.com](https://replicate.com

```sh
# install from PyPI
pip install --pre replicate-stainless
pip install replicate-stainless
```

## Usage
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-stainless"
version = "0.1.0-alpha.10"
version = "0.1.0"
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__ = "0.1.0-alpha.10" # x-release-please-version
__version__ = "0.1.0" # x-release-please-version
1 change: 0 additions & 1 deletion src/replicate/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from __future__ import annotations

from .prediction import Prediction as Prediction
from .prediction_output import PredictionOutput as PredictionOutput
from .model_create_params import ModelCreateParams as ModelCreateParams
from .model_list_response import ModelListResponse as ModelListResponse
from .model_search_params import ModelSearchParams as ModelSearchParams
Expand Down
7 changes: 5 additions & 2 deletions src/replicate/types/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing_extensions import Literal

from .._models import BaseModel
from .prediction_output import PredictionOutput

__all__ = ["Prediction", "URLs"]

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

output: PredictionOutput
output: object
"""
The prediction output, which can be any JSON-serializable value, depending on
the model
"""

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

Expand Down
10 changes: 0 additions & 10 deletions src/replicate/types/prediction_output.py

This file was deleted.