You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with serialising and deserialising datetimes for python generated dataclasses.
This example fails with ValueError: ('Invalid RFC3339 date/time', '2023-01-01T00:00:00'):
It seems to be because the serialising to json for datetime is just datetime.isoformat(), which will return '2023-01-01T00:00:00' for the mentioned value. This will then fail the check in the generated dataclass' _parse_rfc3339 function.
The text was updated successfully, but these errors were encountered:
There seems to be an issue with serialising and deserialising datetimes for python generated dataclasses.
This example fails with
ValueError: ('Invalid RFC3339 date/time', '2023-01-01T00:00:00')
:It seems to be because the serialising to json for datetime is just
datetime.isoformat()
, which will return'2023-01-01T00:00:00'
for the mentioned value. This will then fail the check in the generated dataclass'_parse_rfc3339
function.The text was updated successfully, but these errors were encountered: