You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: trophy/leaderboards/client.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ def get(
75
75
Number of rankings to skip for pagination.
76
76
77
77
limit : typing.Optional[int]
78
-
Maximum number of rankings to return.
78
+
Maximum number of rankings to return. Cannot be greater than the size of the leaderboard.
79
79
80
80
run : typing.Optional[str]
81
81
Specific run date in YYYY-MM-DD format. If not provided, returns the current run.
@@ -84,7 +84,7 @@ def get(
84
84
When provided, offset is relative to this user's position on the leaderboard. If the user is not found in the leaderboard, returns empty rankings array.
85
85
86
86
user_attributes : typing.Optional[str]
87
-
Attribute key and value to filter the rankings by, separated by a colon. This parameter is required, and only valid for leaderboards with a breakdown attribute.
87
+
Attribute key and value to filter the rankings by, separated by a colon. For example, `city:London`. This parameter is required, and only valid for leaderboards with a breakdown attribute.
88
88
89
89
request_options : typing.Optional[RequestOptions]
90
90
Request-specific configuration.
@@ -196,7 +196,7 @@ async def get(
196
196
Number of rankings to skip for pagination.
197
197
198
198
limit : typing.Optional[int]
199
-
Maximum number of rankings to return.
199
+
Maximum number of rankings to return. Cannot be greater than the size of the leaderboard.
200
200
201
201
run : typing.Optional[str]
202
202
Specific run date in YYYY-MM-DD format. If not provided, returns the current run.
@@ -205,7 +205,7 @@ async def get(
205
205
When provided, offset is relative to this user's position on the leaderboard. If the user is not found in the leaderboard, returns empty rankings array.
206
206
207
207
user_attributes : typing.Optional[str]
208
-
Attribute key and value to filter the rankings by, separated by a colon. This parameter is required, and only valid for leaderboards with a breakdown attribute.
208
+
Attribute key and value to filter the rankings by, separated by a colon. For example, `city:London`. This parameter is required, and only valid for leaderboards with a breakdown attribute.
Copy file name to clipboardExpand all lines: trophy/leaderboards/raw_client.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ def get(
103
103
Number of rankings to skip for pagination.
104
104
105
105
limit : typing.Optional[int]
106
-
Maximum number of rankings to return.
106
+
Maximum number of rankings to return. Cannot be greater than the size of the leaderboard.
107
107
108
108
run : typing.Optional[str]
109
109
Specific run date in YYYY-MM-DD format. If not provided, returns the current run.
@@ -112,7 +112,7 @@ def get(
112
112
When provided, offset is relative to this user's position on the leaderboard. If the user is not found in the leaderboard, returns empty rankings array.
113
113
114
114
user_attributes : typing.Optional[str]
115
-
Attribute key and value to filter the rankings by, separated by a colon. This parameter is required, and only valid for leaderboards with a breakdown attribute.
115
+
Attribute key and value to filter the rankings by, separated by a colon. For example, `city:London`. This parameter is required, and only valid for leaderboards with a breakdown attribute.
116
116
117
117
request_options : typing.Optional[RequestOptions]
118
118
Request-specific configuration.
@@ -270,7 +270,7 @@ async def get(
270
270
Number of rankings to skip for pagination.
271
271
272
272
limit : typing.Optional[int]
273
-
Maximum number of rankings to return.
273
+
Maximum number of rankings to return. Cannot be greater than the size of the leaderboard.
274
274
275
275
run : typing.Optional[str]
276
276
Specific run date in YYYY-MM-DD format. If not provided, returns the current run.
@@ -279,7 +279,7 @@ async def get(
279
279
When provided, offset is relative to this user's position on the leaderboard. If the user is not found in the leaderboard, returns empty rankings array.
280
280
281
281
user_attributes : typing.Optional[str]
282
-
Attribute key and value to filter the rankings by, separated by a colon. This parameter is required, and only valid for leaderboards with a breakdown attribute.
282
+
Attribute key and value to filter the rankings by, separated by a colon. For example, `city:London`. This parameter is required, and only valid for leaderboards with a breakdown attribute.
0 commit comments