Skip to content

Commit 8b43277

Browse files
chore: update OpenAPI spec and rebuild SDKs
1 parent 77c9c21 commit 8b43277

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 36
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-1029a7d9615d8a4fa72ca7bb2c0762d98cef9919c6f35079f87cc2db2b8ce9f5.yml
3-
openapi_spec_hash: f8b9ef3c211e9113e141f1894436eba6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-8b68f03c8602e25ede74e66221e04bb17ac1f3170b8de49b8311fbe492636245.yml
3+
openapi_spec_hash: 81a7c6f32c6d77c1f329ca5a3c700a7a
44
config_hash: 407acf62c906ee301314f2d23cdb58b1

src/replicate/resources/collections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def get(
113113
"name": "Super resolution",
114114
"slug": "super-resolution",
115115
"description": "Upscaling models that create high-quality images from low-quality images.",
116+
"full_description": "## Overview\n\nThese models generate high-quality images from low-quality images. Many of these models are based on **advanced upscaling techniques**.\n\n### Key Features\n\n- Enhance image resolution\n- Restore fine details\n- Improve overall image quality",
116117
"models": [...]
117118
}
118119
```
@@ -229,6 +230,7 @@ async def get(
229230
"name": "Super resolution",
230231
"slug": "super-resolution",
231232
"description": "Upscaling models that create high-quality images from low-quality images.",
233+
"full_description": "## Overview\n\nThese models generate high-quality images from low-quality images. Many of these models are based on **advanced upscaling techniques**.\n\n### Key Features\n\n- Enhance image resolution\n- Restore fine details\n- Improve overall image quality",
232234
"models": [...]
233235
}
234236
```

src/replicate/types/collection_get_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ class CollectionGetResponse(BaseModel):
6767

6868
slug: str
6969
"""The slug of the collection (lowercase with dashes)"""
70+
71+
full_description: Optional[str] = None
72+
"""The full description of the collection in markdown format"""

0 commit comments

Comments
 (0)