Skip to content

Commit efe2727

Browse files
Automatically update Python SDK
1 parent cb3d5e5 commit efe2727

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

trophy/types/streak_response.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ class StreakResponse(BaseStreakResponse):
2222
A list of the user's past streak periods up through the current period. Each period includes the start and end dates and the length of the streak.
2323
"""
2424

25+
rank: typing.Optional[int] = pydantic.Field(default=None)
26+
"""
27+
The user's rank across all users. Null if the user has no active streak.
28+
"""
29+
2530
if IS_PYDANTIC_V2:
2631
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
2732
extra="allow", frozen=True

0 commit comments

Comments
 (0)