Skip to content

Commit 2d6b41d

Browse files
Automatically update Python SDK
1 parent 00ffaea commit 2d6b41d

37 files changed

Lines changed: 345 additions & 183 deletions

‎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.26.1"
7+
version = "1.27.0"
88
description = "A Python library for the Trophy API"
99
license = {text = "MIT"}
1010
readme = "README.md"

‎trophy/__init__.py‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
AdminLeaderboardRankBy,
3333
AdminLeaderboardRunUnit,
3434
AdminLeaderboardStatus,
35+
AdminLeaderboardUserAttributesItem,
3536
AdminPointsBoost,
3637
AdminPointsBoostRounding,
3738
AdminPointsBoostStatus,
@@ -83,6 +84,7 @@
8384
CreateLeaderboardRequestItemRankBy,
8485
CreateLeaderboardRequestItemRunUnit,
8586
CreateLeaderboardRequestItemStatus,
87+
CreateLeaderboardRequestItemUserAttributesItem,
8688
CreateLeaderboardsRequest,
8789
CreateLeaderboardsResponse,
8890
CreateMetricRequestItem,
@@ -139,6 +141,7 @@
139141
LeaderboardResponse,
140142
LeaderboardResponseRankBy,
141143
LeaderboardResponseRunUnit,
144+
LeaderboardResponseUserAttributesItem,
142145
LeaderboardResponseWithRankings,
143146
LeaderboardResponseWithRankingsStatus,
144147
ListAchievementsResponse,
@@ -227,6 +230,7 @@
227230
UpdateLeaderboardRequestItemRankBy,
228231
UpdateLeaderboardRequestItemRunUnit,
229232
UpdateLeaderboardRequestItemStatus,
233+
UpdateLeaderboardRequestItemUserAttributesItem,
230234
UpdateLeaderboardsRequest,
231235
UpdateLeaderboardsResponse,
232236
UpdateMetricRequestItem,
@@ -321,6 +325,7 @@
321325
"AdminLeaderboardRankBy": ".types",
322326
"AdminLeaderboardRunUnit": ".types",
323327
"AdminLeaderboardStatus": ".types",
328+
"AdminLeaderboardUserAttributesItem": ".types",
324329
"AdminPointsBoost": ".types",
325330
"AdminPointsBoostRounding": ".types",
326331
"AdminPointsBoostStatus": ".types",
@@ -374,6 +379,7 @@
374379
"CreateLeaderboardRequestItemRankBy": ".types",
375380
"CreateLeaderboardRequestItemRunUnit": ".types",
376381
"CreateLeaderboardRequestItemStatus": ".types",
382+
"CreateLeaderboardRequestItemUserAttributesItem": ".types",
377383
"CreateLeaderboardsRequest": ".types",
378384
"CreateLeaderboardsResponse": ".types",
379385
"CreateMetricRequestItem": ".types",
@@ -433,6 +439,7 @@
433439
"LeaderboardResponse": ".types",
434440
"LeaderboardResponseRankBy": ".types",
435441
"LeaderboardResponseRunUnit": ".types",
442+
"LeaderboardResponseUserAttributesItem": ".types",
436443
"LeaderboardResponseWithRankings": ".types",
437444
"LeaderboardResponseWithRankingsStatus": ".types",
438445
"LeaderboardsAllResponseItem": ".leaderboards",
@@ -528,6 +535,7 @@
528535
"UpdateLeaderboardRequestItemRankBy": ".types",
529536
"UpdateLeaderboardRequestItemRunUnit": ".types",
530537
"UpdateLeaderboardRequestItemStatus": ".types",
538+
"UpdateLeaderboardRequestItemUserAttributesItem": ".types",
531539
"UpdateLeaderboardsRequest": ".types",
532540
"UpdateLeaderboardsResponse": ".types",
533541
"UpdateMetricRequestItem": ".types",
@@ -644,6 +652,7 @@ def __dir__():
644652
"AdminLeaderboardRankBy",
645653
"AdminLeaderboardRunUnit",
646654
"AdminLeaderboardStatus",
655+
"AdminLeaderboardUserAttributesItem",
647656
"AdminPointsBoost",
648657
"AdminPointsBoostRounding",
649658
"AdminPointsBoostStatus",
@@ -697,6 +706,7 @@ def __dir__():
697706
"CreateLeaderboardRequestItemRankBy",
698707
"CreateLeaderboardRequestItemRunUnit",
699708
"CreateLeaderboardRequestItemStatus",
709+
"CreateLeaderboardRequestItemUserAttributesItem",
700710
"CreateLeaderboardsRequest",
701711
"CreateLeaderboardsResponse",
702712
"CreateMetricRequestItem",
@@ -756,6 +766,7 @@ def __dir__():
756766
"LeaderboardResponse",
757767
"LeaderboardResponseRankBy",
758768
"LeaderboardResponseRunUnit",
769+
"LeaderboardResponseUserAttributesItem",
759770
"LeaderboardResponseWithRankings",
760771
"LeaderboardResponseWithRankingsStatus",
761772
"LeaderboardsAllResponseItem",
@@ -851,6 +862,7 @@ def __dir__():
851862
"UpdateLeaderboardRequestItemRankBy",
852863
"UpdateLeaderboardRequestItemRunUnit",
853864
"UpdateLeaderboardRequestItemStatus",
865+
"UpdateLeaderboardRequestItemUserAttributesItem",
854866
"UpdateLeaderboardsRequest",
855867
"UpdateLeaderboardsResponse",
856868
"UpdateMetricRequestItem",

‎trophy/achievements/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def all_(
5252
from trophy import TrophyApi
5353
5454
client = TrophyApi(
55-
"1.26.1",
55+
"1.27.0",
5656
tenant_id="YOUR_TENANT_ID",
5757
api_key="YOUR_API_KEY",
5858
)
@@ -90,7 +90,7 @@ def complete(
9090
from trophy import TrophyApi, UpsertedUser
9191
9292
client = TrophyApi(
93-
"1.26.1",
93+
"1.27.0",
9494
tenant_id="YOUR_TENANT_ID",
9595
api_key="YOUR_API_KEY",
9696
)
@@ -149,7 +149,7 @@ async def all_(
149149
from trophy import AsyncTrophyApi
150150
151151
client = AsyncTrophyApi(
152-
"1.26.1",
152+
"1.27.0",
153153
tenant_id="YOUR_TENANT_ID",
154154
api_key="YOUR_API_KEY",
155155
)
@@ -195,7 +195,7 @@ async def complete(
195195
from trophy import AsyncTrophyApi, UpsertedUser
196196
197197
client = AsyncTrophyApi(
198-
"1.26.1",
198+
"1.27.0",
199199
tenant_id="YOUR_TENANT_ID",
200200
api_key="YOUR_API_KEY",
201201
)

‎trophy/admin/achievements/client.py‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list(
6363
from trophy import TrophyApi
6464
6565
client = TrophyApi(
66-
"1.26.1",
66+
"1.27.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateAchievementRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.26.1",
101+
"1.27.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -148,7 +148,7 @@ def delete(
148148
from trophy import TrophyApi
149149
150150
client = TrophyApi(
151-
"1.26.1",
151+
"1.27.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -185,7 +185,7 @@ def update(
185185
from trophy import TrophyApi, UpdateAchievementRequestItem
186186
187187
client = TrophyApi(
188-
"1.26.1",
188+
"1.27.0",
189189
tenant_id="YOUR_TENANT_ID",
190190
api_key="YOUR_API_KEY",
191191
)
@@ -224,7 +224,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
224224
from trophy import TrophyApi
225225
226226
client = TrophyApi(
227-
"1.26.1",
227+
"1.27.0",
228228
tenant_id="YOUR_TENANT_ID",
229229
api_key="YOUR_API_KEY",
230230
)
@@ -284,7 +284,7 @@ async def list(
284284
from trophy import AsyncTrophyApi
285285
286286
client = AsyncTrophyApi(
287-
"1.26.1",
287+
"1.27.0",
288288
tenant_id="YOUR_TENANT_ID",
289289
api_key="YOUR_API_KEY",
290290
)
@@ -327,7 +327,7 @@ async def create(
327327
from trophy import AsyncTrophyApi, CreateAchievementRequestItem
328328
329329
client = AsyncTrophyApi(
330-
"1.26.1",
330+
"1.27.0",
331331
tenant_id="YOUR_TENANT_ID",
332332
api_key="YOUR_API_KEY",
333333
)
@@ -385,7 +385,7 @@ async def delete(
385385
from trophy import AsyncTrophyApi
386386
387387
client = AsyncTrophyApi(
388-
"1.26.1",
388+
"1.27.0",
389389
tenant_id="YOUR_TENANT_ID",
390390
api_key="YOUR_API_KEY",
391391
)
@@ -430,7 +430,7 @@ async def update(
430430
from trophy import AsyncTrophyApi, UpdateAchievementRequestItem
431431
432432
client = AsyncTrophyApi(
433-
"1.26.1",
433+
"1.27.0",
434434
tenant_id="YOUR_TENANT_ID",
435435
api_key="YOUR_API_KEY",
436436
)
@@ -477,7 +477,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
477477
from trophy import AsyncTrophyApi
478478
479479
client = AsyncTrophyApi(
480-
"1.26.1",
480+
"1.27.0",
481481
tenant_id="YOUR_TENANT_ID",
482482
api_key="YOUR_API_KEY",
483483
)

‎trophy/admin/application_api_keys/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create(
5151
from trophy import CreateApplicationKeyRequestItem, TrophyApi
5252
5353
client = TrophyApi(
54-
"1.26.1",
54+
"1.27.0",
5555
tenant_id="YOUR_TENANT_ID",
5656
api_key="YOUR_API_KEY",
5757
)
@@ -96,7 +96,7 @@ def delete(
9696
from trophy import TrophyApi
9797
9898
client = TrophyApi(
99-
"1.26.1",
99+
"1.27.0",
100100
tenant_id="YOUR_TENANT_ID",
101101
api_key="YOUR_API_KEY",
102102
)
@@ -148,7 +148,7 @@ async def create(
148148
from trophy import AsyncTrophyApi, CreateApplicationKeyRequestItem
149149
150150
client = AsyncTrophyApi(
151-
"1.26.1",
151+
"1.27.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -201,7 +201,7 @@ async def delete(
201201
from trophy import AsyncTrophyApi
202202
203203
client = AsyncTrophyApi(
204-
"1.26.1",
204+
"1.27.0",
205205
tenant_id="YOUR_TENANT_ID",
206206
api_key="YOUR_API_KEY",
207207
)

‎trophy/admin/attributes/client.py‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list(
6363
from trophy import TrophyApi
6464
6565
client = TrophyApi(
66-
"1.26.1",
66+
"1.27.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateAttributeRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.26.1",
101+
"1.27.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -147,7 +147,7 @@ def delete(
147147
from trophy import TrophyApi
148148
149149
client = TrophyApi(
150-
"1.26.1",
150+
"1.27.0",
151151
tenant_id="YOUR_TENANT_ID",
152152
api_key="YOUR_API_KEY",
153153
)
@@ -184,7 +184,7 @@ def update(
184184
from trophy import TrophyApi, UpdateAttributeRequestItem
185185
186186
client = TrophyApi(
187-
"1.26.1",
187+
"1.27.0",
188188
tenant_id="YOUR_TENANT_ID",
189189
api_key="YOUR_API_KEY",
190190
)
@@ -222,7 +222,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
222222
from trophy import TrophyApi
223223
224224
client = TrophyApi(
225-
"1.26.1",
225+
"1.27.0",
226226
tenant_id="YOUR_TENANT_ID",
227227
api_key="YOUR_API_KEY",
228228
)
@@ -282,7 +282,7 @@ async def list(
282282
from trophy import AsyncTrophyApi
283283
284284
client = AsyncTrophyApi(
285-
"1.26.1",
285+
"1.27.0",
286286
tenant_id="YOUR_TENANT_ID",
287287
api_key="YOUR_API_KEY",
288288
)
@@ -325,7 +325,7 @@ async def create(
325325
from trophy import AsyncTrophyApi, CreateAttributeRequestItem
326326
327327
client = AsyncTrophyApi(
328-
"1.26.1",
328+
"1.27.0",
329329
tenant_id="YOUR_TENANT_ID",
330330
api_key="YOUR_API_KEY",
331331
)
@@ -382,7 +382,7 @@ async def delete(
382382
from trophy import AsyncTrophyApi
383383
384384
client = AsyncTrophyApi(
385-
"1.26.1",
385+
"1.27.0",
386386
tenant_id="YOUR_TENANT_ID",
387387
api_key="YOUR_API_KEY",
388388
)
@@ -427,7 +427,7 @@ async def update(
427427
from trophy import AsyncTrophyApi, UpdateAttributeRequestItem
428428
429429
client = AsyncTrophyApi(
430-
"1.26.1",
430+
"1.27.0",
431431
tenant_id="YOUR_TENANT_ID",
432432
api_key="YOUR_API_KEY",
433433
)
@@ -473,7 +473,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
473473
from trophy import AsyncTrophyApi
474474
475475
client = AsyncTrophyApi(
476-
"1.26.1",
476+
"1.27.0",
477477
tenant_id="YOUR_TENANT_ID",
478478
api_key="YOUR_API_KEY",
479479
)

‎trophy/admin/environments/client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Li
4242
from trophy import TrophyApi
4343
4444
client = TrophyApi(
45-
"1.26.1",
45+
"1.27.0",
4646
tenant_id="YOUR_TENANT_ID",
4747
api_key="YOUR_API_KEY",
4848
)
@@ -88,7 +88,7 @@ async def list(self, *, request_options: typing.Optional[RequestOptions] = None)
8888
from trophy import AsyncTrophyApi
8989
9090
client = AsyncTrophyApi(
91-
"1.26.1",
91+
"1.27.0",
9292
tenant_id="YOUR_TENANT_ID",
9393
api_key="YOUR_API_KEY",
9494
)

0 commit comments

Comments
 (0)