Skip to content

Commit

Permalink
Issue #16: Make RelayEvent.total_athlete_age optional. Meet Manager s…
Browse files Browse the repository at this point in the history
…ometimes writes an empty value. (#17)
  • Loading branch information
ericvsmith committed Feb 5, 2024
1 parent 5891fc8 commit a85670f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdif/models.py
Expand Up @@ -408,7 +408,7 @@ class RelayEvent:
stroke: StrokeCode = spec(26, 1)
event_number: Optional[str] = spec(27, 4)
event_age: str = spec(31, 4)
total_athlete_age: int = spec(35, 3)
total_athlete_age: Optional[int] = spec(35, 3, override_m1=True)
swim_date: Optional[date] = spec(38, 8)
seed_time: Optional[TimeT] = spec(46, 8)
seed_course: Optional[CourseStatusCode] = spec(54, 1)
Expand Down

0 comments on commit a85670f

Please sign in to comment.