Skip to content

Commit

Permalink
Add description field to Alert model
Browse files Browse the repository at this point in the history
  • Loading branch information
tjorim committed Jan 18, 2025
1 parent e27debf commit 5145840
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyrail/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class Alert(DataClassORJSONMixin):

id: str # Alert ID
header: str # Alert header
description: str # Alert description
lead: str # Alert lead
start_time: datetime = field(
metadata=field_options(alias="startTime", deserialize=lambda x: timestamp_to_datetime(x))
Expand Down

0 comments on commit 5145840

Please sign in to comment.