Closed mesozoic closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
eef7b6f
) to head (a4da1c6
). Report is 26 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This branch switches
Model.created_time
and all timestamps in schema/webhook/comment/etc. models to usedatetime.datetime
instead of thestr
representation that comes back from the API.The approach is a bit wonky – inspect pydantic field metadata, check types against fields and input, selectively convert data – but it works, and doesn't require us to do anything special per field except declare its type differently than what Airtable will hand back in the API.
This is certainly a breaking change, so I'd include it in a 3.0 release.