Skip to content

Commit c7f7473

Browse files
Automatically update Python SDK
1 parent 654a45d commit c7f7473

27 files changed

Lines changed: 691 additions & 148 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.18.0"
7+
version = "1.19.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": "fc9c2289d356522ad24b9464747364dd97f31a15",
6+
"originGitCommit": "e5e0764c693f384265aea6528e87792857387287",
77
"originGitCommitIsDirty": false,
88
"invokedBy": "ci",
99
"ciProvider": "github"

‎trophy/__init__.py‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
AdminTenant,
4242
AdminTenantStatus,
4343
BaseStreakResponse,
44+
BatchEventsResponse,
45+
BatchMetricEvent,
46+
BatchMetricEventUser,
4447
BulkStreakResponse,
4548
BulkStreakResponseItem,
4649
CreateApplicationKeyRequestItem,
@@ -280,6 +283,9 @@
280283
"AsyncTrophyApi": ".client",
281284
"BadRequestError": ".errors",
282285
"BaseStreakResponse": ".types",
286+
"BatchEventsResponse": ".types",
287+
"BatchMetricEvent": ".types",
288+
"BatchMetricEventUser": ".types",
283289
"BulkStreakResponse": ".types",
284290
"BulkStreakResponseItem": ".types",
285291
"CreateApplicationKeyRequestItem": ".types",
@@ -551,6 +557,9 @@ def __dir__():
551557
"AsyncTrophyApi",
552558
"BadRequestError",
553559
"BaseStreakResponse",
560+
"BatchEventsResponse",
561+
"BatchMetricEvent",
562+
"BatchMetricEventUser",
554563
"BulkStreakResponse",
555564
"BulkStreakResponseItem",
556565
"CreateApplicationKeyRequestItem",

‎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.18.0",
55+
"1.19.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.18.0",
93+
"1.19.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.18.0",
151+
"1.19.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.18.0",
197+
"1.19.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.18.0",
54+
"1.19.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.18.0",
99+
"1.19.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.18.0",
151+
"1.19.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.18.0",
204+
"1.19.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.18.0",
66+
"1.19.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.18.0",
101+
"1.19.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.18.0",
150+
"1.19.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.18.0",
187+
"1.19.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.18.0",
225+
"1.19.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.18.0",
285+
"1.19.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.18.0",
328+
"1.19.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.18.0",
385+
"1.19.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.18.0",
430+
"1.19.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.18.0",
476+
"1.19.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.18.0",
66+
"1.19.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.18.0",
101+
"1.19.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.18.0",
159+
"1.19.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.18.0",
193+
"1.19.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.18.0",
237+
"1.19.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.18.0",
297+
"1.19.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.18.0",
340+
"1.19.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.18.0",
406+
"1.19.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.18.0",
448+
"1.19.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.18.0",
500+
"1.19.0",
501501
tenant_id="YOUR_TENANT_ID",
502502
api_key="YOUR_API_KEY",
503503
)

0 commit comments

Comments
 (0)