Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Mar 6, 2025
1 parent 6690922 commit 8c582d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/palace/manager/service/analytics/eventdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class AnalyticsEventData(BaseModel, LoggerMixin):
type: str
start: AwareDatetime

# TODO: We include the 'end' field as a copy of 'start' because that is
# what the pre-pydantic implementation did. Since this is just duplicated
# we should remove it in a future release.
@computed_field # type: ignore[prop-decorator]
@cached_property
def end(self) -> AwareDatetime:
Expand Down

0 comments on commit 8c582d1

Please sign in to comment.