Skip to content

Commit 62eb2bb

Browse files
release: 6.4.0-alpha14 (#100)
* codegen metadata * feat(api): manual updates * feat(api): manual updates * feat(api): manual updates * feat: Examples and ref polish * feat(api): manual updates * feat: Test Github Action * codegen metadata * feat: Test stainless open action * feat: Model sync * feat: Template Id * feat: Polish and Kick of Java Kit Gen * feat: Kick of merge attempt * chore(internal): detect missing future annotations with ruff * codegen metadata * release: 6.4.0-alpha14 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 0dd0880 commit 62eb2bb

183 files changed

Lines changed: 1012 additions & 715 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

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

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 77
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-7143ea51f307c72ec262ef2b372570bcc767833ed1a3e697e5e365690ffd91ff.yml
3-
openapi_spec_hash: b59b51fcadfacee6aaf4463e5cd4454d
4-
config_hash: b1587e5739cf58e7bf09087c80acfc65
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-305d90acfb13eda0cd280086552cb2168e66db6e6cd141758c86456562e957ad.yml
3+
openapi_spec_hash: 6b28e2d52dd507daa5f6d06d403ed27b
4+
config_hash: 067d7d2709aef80a993bb4a55235f2d3

CHANGELOG.md

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

3+
## 6.4.0-alpha14 (2025-10-14)
4+
5+
Full Changelog: [v6.4.0-alpha13...v6.4.0-alpha14](https://github.com/trycourier/courier-python/compare/v6.4.0-alpha13...v6.4.0-alpha14)
6+
7+
### Features
8+
9+
* **api:** manual updates ([e112bd0](https://github.com/trycourier/courier-python/commit/e112bd07fe318d465a9001f674cefc659de76873))
10+
* **api:** manual updates ([d42b37a](https://github.com/trycourier/courier-python/commit/d42b37ac6d7a7b5c8aa4cc5a3eea1b72cb09afa4))
11+
* **api:** manual updates ([d47cd8b](https://github.com/trycourier/courier-python/commit/d47cd8b0f978bb63366d0a936e8acccd11765b10))
12+
* **api:** manual updates ([71f3a3c](https://github.com/trycourier/courier-python/commit/71f3a3c26f652978c94cc38793ab5092ad67f66a))
13+
* Examples and ref polish ([2064338](https://github.com/trycourier/courier-python/commit/2064338fb827f5e0ad9db7c0b5d4926a40ef8367))
14+
* Kick of merge attempt ([06e8c01](https://github.com/trycourier/courier-python/commit/06e8c015bc29116e7a082d09861f6b6f36302a1b))
15+
* Model sync ([01f64f4](https://github.com/trycourier/courier-python/commit/01f64f404515503bcf81349f9f8ccaa1c6233317))
16+
* Polish and Kick of Java Kit Gen ([bd0f5eb](https://github.com/trycourier/courier-python/commit/bd0f5ebf450895f319e0d1ee2e5ec2c198248137))
17+
* Template Id ([8d36ed8](https://github.com/trycourier/courier-python/commit/8d36ed831629ea1910533783f184c5798fba3aea))
18+
* Test Github Action ([cb50c99](https://github.com/trycourier/courier-python/commit/cb50c99f72467b58071fe058c42acd4359152ea4))
19+
* Test stainless open action ([b107881](https://github.com/trycourier/courier-python/commit/b107881432227ac071760c1f2918bf69ec4aec8d))
20+
21+
22+
### Chores
23+
24+
* **internal:** detect missing future annotations with ruff ([3826b8b](https://github.com/trycourier/courier-python/commit/3826b8b4fbe88b0e2b536c176e9ae7da86446445))
25+
326
## 6.4.0-alpha13 (2025-10-07)
427

528
Full Changelog: [v6.4.0-alpha12...v6.4.0-alpha13](https://github.com/trycourier/courier-python/compare/v6.4.0-alpha12...v6.4.0-alpha13)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ client = Courier()
134134

135135
response = client.send.message(
136136
message={
137-
"data": {"name": "bar"},
137+
"data": {"foo": "bar"},
138+
"template": "template_id",
138139
"to": {"user_id": "example_user"},
139140
},
140141
)

api.md

Lines changed: 80 additions & 89 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "trycourier"
3-
version = "6.4.0-alpha13"
3+
version = "6.4.0-alpha14"
44
description = "The official Python library for the courier API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -224,6 +224,8 @@ select = [
224224
"B",
225225
# remove unused imports
226226
"F401",
227+
# check for missing future annotations
228+
"FA102",
227229
# bare except statements
228230
"E722",
229231
# unused arguments
@@ -246,6 +248,8 @@ unfixable = [
246248
"T203",
247249
]
248250

251+
extend-safe-fixes = ["FA102"]
252+
249253
[tool.ruff.lint.flake8-tidy-imports.banned-api]
250254
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
251255

src/courier/_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__ = "courier"
4-
__version__ = "6.4.0-alpha13" # x-release-please-version
4+
__version__ = "6.4.0-alpha14" # x-release-please-version

src/courier/resources/audiences.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
async_to_streamed_response_wrapper,
1919
)
2020
from .._base_client import make_request_options
21-
from ..types.audience import Audience
22-
from ..types.filter_param import FilterParam
21+
from ..types.shared.audience import Audience
22+
from ..types.shared_params.filter import Filter
2323
from ..types.audience_list_response import AudienceListResponse
2424
from ..types.audience_update_response import AudienceUpdateResponse
2525
from ..types.audience_list_members_response import AudienceListMembersResponse
@@ -85,7 +85,7 @@ def update(
8585
audience_id: str,
8686
*,
8787
description: Optional[str] | Omit = omit,
88-
filter: Optional[FilterParam] | Omit = omit,
88+
filter: Optional[Filter] | Omit = omit,
8989
name: Optional[str] | Omit = omit,
9090
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
9191
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -300,7 +300,7 @@ async def update(
300300
audience_id: str,
301301
*,
302302
description: Optional[str] | Omit = omit,
303-
filter: Optional[FilterParam] | Omit = omit,
303+
filter: Optional[Filter] | Omit = omit,
304304
name: Optional[str] | Omit = omit,
305305
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
306306
# The extra values given here take precedence over values defined on the client or passed to this method.

src/courier/resources/audit_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
async_to_streamed_response_wrapper,
1919
)
2020
from .._base_client import make_request_options
21-
from ..types.audit_event import AuditEvent
21+
from ..types.shared.audit_event import AuditEvent
2222
from ..types.audit_event_list_response import AuditEventListResponse
2323

2424
__all__ = ["AuditEventsResource", "AsyncAuditEventsResource"]

src/courier/resources/automations/invoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919
from ..._base_client import make_request_options
2020
from ...types.automations import invoke_invoke_ad_hoc_params, invoke_invoke_by_template_params
21-
from ...types.automations.automation_invoke_response import AutomationInvokeResponse
21+
from ...types.shared.automation_invoke_response import AutomationInvokeResponse
2222

2323
__all__ = ["InvokeResource", "AsyncInvokeResource"]
2424

0 commit comments

Comments
 (0)