Skip to content

Commit bf6cdb0

Browse files
authored
Merge pull request #144 from writer/release-please--branches--main--changes--next
release: 1.6.1
2 parents f768ab7 + 18d7c1b commit bf6cdb0

6 files changed

Lines changed: 18 additions & 8 deletions

File tree

.release-please-manifest.json

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

CHANGELOG.md

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

3+
## 1.6.1 (2024-12-17)
4+
5+
Full Changelog: [v1.6.0...v1.6.1](https://github.com/writer/writer-python/compare/v1.6.0...v1.6.1)
6+
7+
### Chores
8+
9+
* **internal:** codegen related update ([#140](https://github.com/writer/writer-python/issues/140)) ([ac0d81e](https://github.com/writer/writer-python/commit/ac0d81ec72fbdf2a9bd087645cb87cf2df2c222f))
10+
* **internal:** fix some typos ([#145](https://github.com/writer/writer-python/issues/145)) ([cb1be53](https://github.com/writer/writer-python/commit/cb1be5358ae7ca53c9c73af6d3e2934ebdfcf1c0))
11+
312
## 1.6.0 (2024-12-16)
413

514
Full Changelog: [v1.5.0...v1.6.0](https://github.com/writer/writer-python/compare/v1.5.0...v1.6.0)

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 = "1.6.0"
3+
version = "1.6.1"
44
description = "The official Python library for the writer API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

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__ = "1.6.0" # x-release-please-version
4+
__version__ = "1.6.1" # x-release-please-version

src/writerai/types/file_upload_params.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
from typing_extensions import Required, Annotated, TypedDict
66

7+
from .._types import FileTypes
78
from .._utils import PropertyInfo
89

910
__all__ = ["FileUploadParams"]
1011

1112

1213
class FileUploadParams(TypedDict, total=False):
13-
content: Required[object]
14+
content: Required[FileTypes]
1415

1516
content_disposition: Required[Annotated[str, PropertyInfo(alias="Content-Disposition")]]
1617

tests/test_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ def test_default_query_option(self) -> None:
354354
FinalRequestOptions(
355355
method="get",
356356
url="/foo",
357-
params={"foo": "baz", "query_param": "overriden"},
357+
params={"foo": "baz", "query_param": "overridden"},
358358
)
359359
)
360360
url = httpx.URL(request.url)
361-
assert dict(url.params) == {"foo": "baz", "query_param": "overriden"}
361+
assert dict(url.params) == {"foo": "baz", "query_param": "overridden"}
362362

363363
def test_request_extra_json(self) -> None:
364364
request = self.client._build_request(
@@ -1131,11 +1131,11 @@ def test_default_query_option(self) -> None:
11311131
FinalRequestOptions(
11321132
method="get",
11331133
url="/foo",
1134-
params={"foo": "baz", "query_param": "overriden"},
1134+
params={"foo": "baz", "query_param": "overridden"},
11351135
)
11361136
)
11371137
url = httpx.URL(request.url)
1138-
assert dict(url.params) == {"foo": "baz", "query_param": "overriden"}
1138+
assert dict(url.params) == {"foo": "baz", "query_param": "overridden"}
11391139

11401140
def test_request_extra_json(self) -> None:
11411141
request = self.client._build_request(

0 commit comments

Comments
 (0)