https://github.com/SoftwareHeritage/swh-model
Revision be894c66c88b45f621529df011e1dc5f1de2bd8e authored by Valentin Lorentz on 12 January 2022, 14:12:29 UTC, committed by Valentin Lorentz on 13 January 2022, 11:17:48 UTC
'offset' becomes a property instead of an attribute and constructor argument.

This also removes both from the output of `.to_dict()`.

This is step 6 of https://forge.softwareheritage.org/T3752

This will break packages that still use the constructor directly,
ie. swh-storage and swh-loader-git (and tests of swh-loader-core
and swh-loader-svn)
1 parent dbf185c
History
Tip revision: be894c66c88b45f621529df011e1dc5f1de2bd8e authored by Valentin Lorentz on 12 January 2022, 14:12:29 UTC
TimestampWithTimezone: Make 'offset_bytes' required and remove 'negative_utc'.
Tip revision: be894c6
File Mode Size
model
__init__.py -rw-r--r-- 76 bytes

back to top