Skip to content

Commit 763006c

Browse files
Automatically update Python SDK
1 parent a43f582 commit 763006c

File tree

2 files changed

+3
-3
lines changed

2 files changed

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

trophy/types/leaderboard_event.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# This file was auto-generated by Fern from our API Definition.
22

33
from ..core.pydantic_utilities import UniversalBaseModel
4+
import typing
45
import datetime as dt
56
import pydantic
67
import typing_extensions
7-
import typing
88
from ..core.serialization import FieldMetadata
99
from ..core.pydantic_utilities import IS_PYDANTIC_V2
1010

@@ -14,7 +14,7 @@ class LeaderboardEvent(UniversalBaseModel):
1414
A leaderboard event representing a change in a user's rank or value.
1515
"""
1616

17-
time: dt.datetime = pydantic.Field()
17+
timestamp: typing.Optional[dt.datetime] = pydantic.Field(default=None)
1818
"""
1919
The timestamp when the event occurred.
2020
"""

0 commit comments

Comments
 (0)