Skip to content

Commit 96e2b39

Browse files
release: 1.4.0 (#45)
* feat(api): api update * release: 1.4.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 403bb22 commit 96e2b39

File tree

6 files changed

+23
-9
lines changed

6 files changed

+23
-9
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-
".": "1.3.0"
2+
".": "1.4.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: 89
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-46f457b0a70074dc6b49569ab3c72a7aeedc111aabf2ffe84f64e5e2f386c14c.yml
3-
openapi_spec_hash: e0fe11d0ae0a6be4f9c052fa649b2a1a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-2c885f8f3762bcc577255242aa61b3ad890170497c865f664d8ab42c8872d97c.yml
3+
openapi_spec_hash: e0f6dd3ae8329fa8b96d1ffdc937cbc9
44
config_hash: 2ae8965d371a03bd30c6a56819c04cf2

CHANGELOG.md

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

3+
## 1.4.0 (2025-05-29)
4+
5+
Full Changelog: [v1.3.0...v1.4.0](https://github.com/knocklabs/knock-python/compare/v1.3.0...v1.4.0)
6+
7+
### Features
8+
9+
* **api:** api update ([5a60edb](https://github.com/knocklabs/knock-python/commit/5a60edb537de411fb6384b6d77ad3a2cfa91dbc1))
10+
311
## 1.3.0 (2025-05-27)
412

513
Full Changelog: [v1.2.0...v1.3.0](https://github.com/knocklabs/knock-python/compare/v1.2.0...v1.3.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 = "knockapi"
3-
version = "1.3.0"
3+
version = "1.4.0"
44
description = "The official Python library for the knock API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/knockapi/_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__ = "knockapi"
4-
__version__ = "1.3.0" # x-release-please-version
4+
__version__ = "1.4.0" # x-release-please-version

src/knockapi/resources/users/users.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,11 @@ def set_channel_data(
701701
extra_body: Body | None = None,
702702
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
703703
) -> ChannelData:
704-
"""
705-
Updates or creates channel data for a specific user and channel ID.
704+
"""Updates or creates channel data for a specific user and channel ID.
705+
706+
If no user
707+
exists in the current environment for the given `user_id`, Knock will create the
708+
user entry as part of this request.
706709
707710
Args:
708711
data: Channel data for a given channel type.
@@ -1456,8 +1459,11 @@ async def set_channel_data(
14561459
extra_body: Body | None = None,
14571460
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
14581461
) -> ChannelData:
1459-
"""
1460-
Updates or creates channel data for a specific user and channel ID.
1462+
"""Updates or creates channel data for a specific user and channel ID.
1463+
1464+
If no user
1465+
exists in the current environment for the given `user_id`, Knock will create the
1466+
user entry as part of this request.
14611467
14621468
Args:
14631469
data: Channel data for a given channel type.

0 commit comments

Comments
 (0)