Skip to content

Commit aaf7e72

Browse files
release: 3.0.1-rc1 (#260)
* docs(api): updates to API spec * codegen metadata * release: 3.0.1-rc1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent a01835e commit aaf7e72

14 files changed

Lines changed: 23 additions & 556 deletions

.release-please-manifest.json

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

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai/writer-275de8f7afa2d37404ebebc082dda35e70ab94437de270b5bc6e2fdc94c9fdae.yml
3-
openapi_spec_hash: 4d4a9ba232d19a6180e6d4a7d5566103
4-
config_hash: 8701b1a467238f1afdeceeb7feb1adc6
1+
configured_endpoints: 29
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai/writer-c998c7cab6c43a698deb813179849e0379db494eef2a34f751616486d6bb0e25.yml
3+
openapi_spec_hash: aba09dae66d0e96b08ea2ac4e9113f09
4+
config_hash: 85d9c08b6b71fad459240bc6f401eac7

CHANGELOG.md

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

3+
## 3.0.1-rc1 (2026-07-13)
4+
5+
Full Changelog: [v3.0.0...v3.0.1-rc1](https://github.com/writer/writer-python/compare/v3.0.0...v3.0.1-rc1)
6+
7+
### Chores
8+
9+
* **deps:** bump idna in the uv group across 1 directory ([#259](https://github.com/writer/writer-python/issues/259)) ([a01835e](https://github.com/writer/writer-python/commit/a01835e46b00ae3c13497bc816fa59dba5079ea2))
10+
11+
12+
### Documentation
13+
14+
* **api:** updates to API spec ([3215a51](https://github.com/writer/writer-python/commit/3215a513ababca91f8ba90df70bd4e2f991f5d60))
15+
316
## 3.0.0 (2026-06-02)
417

518
Full Changelog: [v3.0.0-rc1...v3.0.0](https://github.com/writer/writer-python/compare/v3.0.0-rc1...v3.0.0)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To install the package from PyPI, use `pip`:
2828

2929
```sh
3030
# install from PyPI
31-
pip install writer-sdk
31+
pip install --pre writer-sdk
3232
```
3333

3434
## Prequisites
@@ -125,7 +125,7 @@ You can enable this by installing `aiohttp`:
125125

126126
```sh
127127
# install from PyPI
128-
pip install writer-sdk[aiohttp]
128+
pip install --pre writer-sdk[aiohttp]
129129
```
130130

131131
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,6 @@ Methods:
170170
- <code title="post /v1/tools/pdf-parser/{file_id}">client.tools.<a href="./src/writerai/resources/tools.py">parse_pdf</a>(file_id, \*\*<a href="src/writerai/types/tool_parse_pdf_params.py">params</a>) -> <a href="./src/writerai/types/tool_parse_pdf_response.py">ToolParsePdfResponse</a></code>
171171
- <code title="post /v1/tools/web-search">client.tools.<a href="./src/writerai/resources/tools.py">web_search</a>(\*\*<a href="src/writerai/types/tool_web_search_params.py">params</a>) -> <a href="./src/writerai/types/tool_web_search_response.py">ToolWebSearchResponse</a></code>
172172

173-
# Translation
174-
175-
Types:
176-
177-
```python
178-
from writerai.types import TranslationRequest, TranslationResponse
179-
```
180-
181-
Methods:
182-
183-
- <code title="post /v1/translation">client.translation.<a href="./src/writerai/resources/translation.py">translate</a>(\*\*<a href="src/writerai/types/translation_translate_params.py">params</a>) -> <a href="./src/writerai/types/translation_response.py">TranslationResponse</a></code>
184-
185173
# Vision
186174

187175
Types:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "writer-sdk"
3-
version = "3.0.0"
3+
version = "3.0.1-rc1"
44
description = "The official Python library for the writer API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/writerai/_client.py

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@
3636
)
3737

3838
if TYPE_CHECKING:
39-
from .resources import chat, files, tools, graphs, models, vision, completions, translation, applications
39+
from .resources import chat, files, tools, graphs, models, vision, completions, applications
4040
from .resources.chat import ChatResource, AsyncChatResource
4141
from .resources.files import FilesResource, AsyncFilesResource
4242
from .resources.tools import ToolsResource, AsyncToolsResource
4343
from .resources.graphs import GraphsResource, AsyncGraphsResource
4444
from .resources.models import ModelsResource, AsyncModelsResource
4545
from .resources.vision import VisionResource, AsyncVisionResource
4646
from .resources.completions import CompletionsResource, AsyncCompletionsResource
47-
from .resources.translation import TranslationResource, AsyncTranslationResource
4847
from .resources.applications.applications import ApplicationsResource, AsyncApplicationsResource
4948

5049
__all__ = ["Timeout", "Transport", "ProxiesTypes", "RequestOptions", "Writer", "AsyncWriter", "Client", "AsyncClient"]
@@ -158,12 +157,6 @@ def tools(self) -> ToolsResource:
158157

159158
return ToolsResource(self)
160159

161-
@cached_property
162-
def translation(self) -> TranslationResource:
163-
from .resources.translation import TranslationResource
164-
165-
return TranslationResource(self)
166-
167160
@cached_property
168161
def vision(self) -> VisionResource:
169162
from .resources.vision import VisionResource
@@ -391,12 +384,6 @@ def tools(self) -> AsyncToolsResource:
391384

392385
return AsyncToolsResource(self)
393386

394-
@cached_property
395-
def translation(self) -> AsyncTranslationResource:
396-
from .resources.translation import AsyncTranslationResource
397-
398-
return AsyncTranslationResource(self)
399-
400387
@cached_property
401388
def vision(self) -> AsyncVisionResource:
402389
from .resources.vision import AsyncVisionResource
@@ -564,12 +551,6 @@ def tools(self) -> tools.ToolsResourceWithRawResponse:
564551

565552
return ToolsResourceWithRawResponse(self._client.tools)
566553

567-
@cached_property
568-
def translation(self) -> translation.TranslationResourceWithRawResponse:
569-
from .resources.translation import TranslationResourceWithRawResponse
570-
571-
return TranslationResourceWithRawResponse(self._client.translation)
572-
573554
@cached_property
574555
def vision(self) -> vision.VisionResourceWithRawResponse:
575556
from .resources.vision import VisionResourceWithRawResponse
@@ -625,12 +606,6 @@ def tools(self) -> tools.AsyncToolsResourceWithRawResponse:
625606

626607
return AsyncToolsResourceWithRawResponse(self._client.tools)
627608

628-
@cached_property
629-
def translation(self) -> translation.AsyncTranslationResourceWithRawResponse:
630-
from .resources.translation import AsyncTranslationResourceWithRawResponse
631-
632-
return AsyncTranslationResourceWithRawResponse(self._client.translation)
633-
634609
@cached_property
635610
def vision(self) -> vision.AsyncVisionResourceWithRawResponse:
636611
from .resources.vision import AsyncVisionResourceWithRawResponse
@@ -686,12 +661,6 @@ def tools(self) -> tools.ToolsResourceWithStreamingResponse:
686661

687662
return ToolsResourceWithStreamingResponse(self._client.tools)
688663

689-
@cached_property
690-
def translation(self) -> translation.TranslationResourceWithStreamingResponse:
691-
from .resources.translation import TranslationResourceWithStreamingResponse
692-
693-
return TranslationResourceWithStreamingResponse(self._client.translation)
694-
695664
@cached_property
696665
def vision(self) -> vision.VisionResourceWithStreamingResponse:
697666
from .resources.vision import VisionResourceWithStreamingResponse
@@ -747,12 +716,6 @@ def tools(self) -> tools.AsyncToolsResourceWithStreamingResponse:
747716

748717
return AsyncToolsResourceWithStreamingResponse(self._client.tools)
749718

750-
@cached_property
751-
def translation(self) -> translation.AsyncTranslationResourceWithStreamingResponse:
752-
from .resources.translation import AsyncTranslationResourceWithStreamingResponse
753-
754-
return AsyncTranslationResourceWithStreamingResponse(self._client.translation)
755-
756719
@cached_property
757720
def vision(self) -> vision.AsyncVisionResourceWithStreamingResponse:
758721
from .resources.vision import AsyncVisionResourceWithStreamingResponse

src/writerai/_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__ = "writerai"
4-
__version__ = "3.0.0" # x-release-please-version
4+
__version__ = "3.0.1-rc1" # x-release-please-version

src/writerai/resources/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@
5656
CompletionsResourceWithStreamingResponse,
5757
AsyncCompletionsResourceWithStreamingResponse,
5858
)
59-
from .translation import (
60-
TranslationResource,
61-
AsyncTranslationResource,
62-
TranslationResourceWithRawResponse,
63-
AsyncTranslationResourceWithRawResponse,
64-
TranslationResourceWithStreamingResponse,
65-
AsyncTranslationResourceWithStreamingResponse,
66-
)
6759
from .applications import (
6860
ApplicationsResource,
6961
AsyncApplicationsResource,
@@ -116,12 +108,6 @@
116108
"AsyncToolsResourceWithRawResponse",
117109
"ToolsResourceWithStreamingResponse",
118110
"AsyncToolsResourceWithStreamingResponse",
119-
"TranslationResource",
120-
"AsyncTranslationResource",
121-
"TranslationResourceWithRawResponse",
122-
"AsyncTranslationResourceWithRawResponse",
123-
"TranslationResourceWithStreamingResponse",
124-
"AsyncTranslationResourceWithStreamingResponse",
125111
"VisionResource",
126112
"AsyncVisionResource",
127113
"VisionResourceWithRawResponse",

0 commit comments

Comments
 (0)