Skip to content

Commit dc298ce

Browse files
Automatically update Python SDK
1 parent 8bccd14 commit dc298ce

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "trophy"
7-
version = "1.0.15"
7+
version = "1.0.16"
88
description = "A Python library for the Trophy API"
99
license = {text = "MIT"}
1010
readme = "README.md"

trophy/types/updated_user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class UpdatedUser(UniversalBaseModel):
3939
typing.Optional[bool], FieldMetadata(alias="subscribeToEmails")
4040
] = pydantic.Field(default=None)
4141
"""
42-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
42+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
4343
"""
4444

4545
if IS_PYDANTIC_V2:

trophy/users/client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def create(
7171
The user's device tokens, used for push notifications.
7272
7373
subscribe_to_emails : typing.Optional[bool]
74-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
74+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
7575
7676
request_options : typing.Optional[RequestOptions]
7777
Request-specific configuration.
@@ -261,7 +261,7 @@ def identify(
261261
The user's device tokens, used for push notifications.
262262
263263
subscribe_to_emails : typing.Optional[bool]
264-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
264+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
265265
266266
request_options : typing.Optional[RequestOptions]
267267
Request-specific configuration.
@@ -373,7 +373,7 @@ def update(
373373
The user's device tokens, used for push notifications.
374374
375375
subscribe_to_emails : typing.Optional[bool]
376-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
376+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
377377
378378
request_options : typing.Optional[RequestOptions]
379379
Request-specific configuration.
@@ -1132,7 +1132,7 @@ async def create(
11321132
The user's device tokens, used for push notifications.
11331133
11341134
subscribe_to_emails : typing.Optional[bool]
1135-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
1135+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
11361136
11371137
request_options : typing.Optional[RequestOptions]
11381138
Request-specific configuration.
@@ -1338,7 +1338,7 @@ async def identify(
13381338
The user's device tokens, used for push notifications.
13391339
13401340
subscribe_to_emails : typing.Optional[bool]
1341-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
1341+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
13421342
13431343
request_options : typing.Optional[RequestOptions]
13441344
Request-specific configuration.
@@ -1458,7 +1458,7 @@ async def update(
14581458
The user's device tokens, used for push notifications.
14591459
14601460
subscribe_to_emails : typing.Optional[bool]
1461-
Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided.
1461+
Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address.
14621462
14631463
request_options : typing.Optional[RequestOptions]
14641464
Request-specific configuration.

0 commit comments

Comments
 (0)