Skip to content

Commit 9616877

Browse files
Automatically update Python SDK
1 parent 8c74bd1 commit 9616877

24 files changed

Lines changed: 169 additions & 160 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.21.1"
7+
version = "1.22.0"
88
description = "A Python library for the Trophy API"
99
license = {text = "MIT"}
1010
readme = "README.md"

‎trophy/.fern/metadata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"generatorName": "fernapi/fern-python-sdk",
44
"generatorVersion": "5.15.1",
55
"generatorConfig": {},
6-
"originGitCommit": "48c75461f71ae06a0d8307ff0ec5152705044ab1",
6+
"originGitCommit": "95f1bf9efcd145eae90922fbd50b346f6ddb1629",
77
"originGitCommitIsDirty": false,
88
"invokedBy": "ci",
99
"ciProvider": "github"

‎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.21.1",
55+
"1.22.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.21.1",
93+
"1.22.0",
9494
tenant_id="YOUR_TENANT_ID",
9595
api_key="YOUR_API_KEY",
9696
)
@@ -148,7 +148,7 @@ async def all_(
148148
from trophy import AsyncTrophyApi
149149
150150
client = AsyncTrophyApi(
151-
"1.21.1",
151+
"1.22.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -194,7 +194,7 @@ async def complete(
194194
from trophy import AsyncTrophyApi, UpsertedUser
195195
196196
client = AsyncTrophyApi(
197-
"1.21.1",
197+
"1.22.0",
198198
tenant_id="YOUR_TENANT_ID",
199199
api_key="YOUR_API_KEY",
200200
)

‎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.21.1",
54+
"1.22.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.21.1",
99+
"1.22.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.21.1",
151+
"1.22.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.21.1",
204+
"1.22.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.21.1",
66+
"1.22.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.21.1",
101+
"1.22.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.21.1",
150+
"1.22.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.21.1",
187+
"1.22.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.21.1",
225+
"1.22.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.21.1",
285+
"1.22.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.21.1",
328+
"1.22.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.21.1",
385+
"1.22.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.21.1",
430+
"1.22.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.21.1",
476+
"1.22.0",
477477
tenant_id="YOUR_TENANT_ID",
478478
api_key="YOUR_API_KEY",
479479
)

‎trophy/admin/leaderboards/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.21.1",
66+
"1.22.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateLeaderboardRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.21.1",
101+
"1.22.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -156,7 +156,7 @@ def delete(
156156
from trophy import TrophyApi
157157
158158
client = TrophyApi(
159-
"1.21.1",
159+
"1.22.0",
160160
tenant_id="YOUR_TENANT_ID",
161161
api_key="YOUR_API_KEY",
162162
)
@@ -190,7 +190,7 @@ def update(
190190
from trophy import TrophyApi, UpdateLeaderboardRequestItem
191191
192192
client = TrophyApi(
193-
"1.21.1",
193+
"1.22.0",
194194
tenant_id="YOUR_TENANT_ID",
195195
api_key="YOUR_API_KEY",
196196
)
@@ -234,7 +234,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
234234
from trophy import TrophyApi
235235
236236
client = TrophyApi(
237-
"1.21.1",
237+
"1.22.0",
238238
tenant_id="YOUR_TENANT_ID",
239239
api_key="YOUR_API_KEY",
240240
)
@@ -294,7 +294,7 @@ async def list(
294294
from trophy import AsyncTrophyApi
295295
296296
client = AsyncTrophyApi(
297-
"1.21.1",
297+
"1.22.0",
298298
tenant_id="YOUR_TENANT_ID",
299299
api_key="YOUR_API_KEY",
300300
)
@@ -337,7 +337,7 @@ async def create(
337337
from trophy import AsyncTrophyApi, CreateLeaderboardRequestItem
338338
339339
client = AsyncTrophyApi(
340-
"1.21.1",
340+
"1.22.0",
341341
tenant_id="YOUR_TENANT_ID",
342342
api_key="YOUR_API_KEY",
343343
)
@@ -403,7 +403,7 @@ async def delete(
403403
from trophy import AsyncTrophyApi
404404
405405
client = AsyncTrophyApi(
406-
"1.21.1",
406+
"1.22.0",
407407
tenant_id="YOUR_TENANT_ID",
408408
api_key="YOUR_API_KEY",
409409
)
@@ -445,7 +445,7 @@ async def update(
445445
from trophy import AsyncTrophyApi, UpdateLeaderboardRequestItem
446446
447447
client = AsyncTrophyApi(
448-
"1.21.1",
448+
"1.22.0",
449449
tenant_id="YOUR_TENANT_ID",
450450
api_key="YOUR_API_KEY",
451451
)
@@ -497,7 +497,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
497497
from trophy import AsyncTrophyApi
498498
499499
client = AsyncTrophyApi(
500-
"1.21.1",
500+
"1.22.0",
501501
tenant_id="YOUR_TENANT_ID",
502502
api_key="YOUR_API_KEY",
503503
)

‎trophy/admin/metrics/client.py‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def list(
6565
from trophy import TrophyApi
6666
6767
client = TrophyApi(
68-
"1.21.1",
68+
"1.22.0",
6969
tenant_id="YOUR_TENANT_ID",
7070
api_key="YOUR_API_KEY",
7171
)
@@ -100,7 +100,7 @@ def create(
100100
from trophy import CreateMetricRequestItem, TrophyApi
101101
102102
client = TrophyApi(
103-
"1.21.1",
103+
"1.22.0",
104104
tenant_id="YOUR_TENANT_ID",
105105
api_key="YOUR_API_KEY",
106106
)
@@ -149,7 +149,7 @@ def delete(
149149
from trophy import TrophyApi
150150
151151
client = TrophyApi(
152-
"1.21.1",
152+
"1.22.0",
153153
tenant_id="YOUR_TENANT_ID",
154154
api_key="YOUR_API_KEY",
155155
)
@@ -186,7 +186,7 @@ def update(
186186
from trophy import TrophyApi, UpdateMetricRequestItem
187187
188188
client = TrophyApi(
189-
"1.21.1",
189+
"1.22.0",
190190
tenant_id="YOUR_TENANT_ID",
191191
api_key="YOUR_API_KEY",
192192
)
@@ -230,7 +230,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
230230
from trophy import TrophyApi
231231
232232
client = TrophyApi(
233-
"1.21.1",
233+
"1.22.0",
234234
tenant_id="YOUR_TENANT_ID",
235235
api_key="YOUR_API_KEY",
236236
)
@@ -264,7 +264,7 @@ def batch_events(
264264
from trophy import BatchMetricEvent, BatchMetricEventUser, TrophyApi
265265
266266
client = TrophyApi(
267-
"1.21.1",
267+
"1.22.0",
268268
tenant_id="YOUR_TENANT_ID",
269269
api_key="YOUR_API_KEY",
270270
)
@@ -337,7 +337,7 @@ async def list(
337337
from trophy import AsyncTrophyApi
338338
339339
client = AsyncTrophyApi(
340-
"1.21.1",
340+
"1.22.0",
341341
tenant_id="YOUR_TENANT_ID",
342342
api_key="YOUR_API_KEY",
343343
)
@@ -380,7 +380,7 @@ async def create(
380380
from trophy import AsyncTrophyApi, CreateMetricRequestItem
381381
382382
client = AsyncTrophyApi(
383-
"1.21.1",
383+
"1.22.0",
384384
tenant_id="YOUR_TENANT_ID",
385385
api_key="YOUR_API_KEY",
386386
)
@@ -437,7 +437,7 @@ async def delete(
437437
from trophy import AsyncTrophyApi
438438
439439
client = AsyncTrophyApi(
440-
"1.21.1",
440+
"1.22.0",
441441
tenant_id="YOUR_TENANT_ID",
442442
api_key="YOUR_API_KEY",
443443
)
@@ -482,7 +482,7 @@ async def update(
482482
from trophy import AsyncTrophyApi, UpdateMetricRequestItem
483483
484484
client = AsyncTrophyApi(
485-
"1.21.1",
485+
"1.22.0",
486486
tenant_id="YOUR_TENANT_ID",
487487
api_key="YOUR_API_KEY",
488488
)
@@ -534,7 +534,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
534534
from trophy import AsyncTrophyApi
535535
536536
client = AsyncTrophyApi(
537-
"1.21.1",
537+
"1.22.0",
538538
tenant_id="YOUR_TENANT_ID",
539539
api_key="YOUR_API_KEY",
540540
)
@@ -576,7 +576,7 @@ async def batch_events(
576576
from trophy import AsyncTrophyApi, BatchMetricEvent, BatchMetricEventUser
577577
578578
client = AsyncTrophyApi(
579-
"1.21.1",
579+
"1.22.0",
580580
tenant_id="YOUR_TENANT_ID",
581581
api_key="YOUR_API_KEY",
582582
)

0 commit comments

Comments
 (0)