tdsmith / sdif

Python infrastructure for US Swimming SDIF v3 (sd3) files
Apache License 2.0
6 stars 1 forks source link

Optionally loosen strictness for certain fields #11

Closed tdsmith closed 10 months ago

tdsmith commented 10 months ago

Meet Manager fairly regards certain fields as optional which are listed as M1 in the published spec. We should support serializing and deserializing SDIF files where these values are absent.

Adds a new strict mode that requires we match the spec exactly, which is off by default. Notes on the RelayName model that these fields are Optional even though they're "m1".

Fixes #9.

tdsmith commented 10 months ago

@ericvsmith I took a swing at it. I'll go ahead and cut a release for the sake of expediency, but let me know if you need something different here!