-
- Downloads
TimestampWithTimezone: Make 'offset_bytes' required and remove 'negative_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)
Showing
- swh/model/model.py 47 additions, 67 deletionsswh/model/model.py
- swh/model/tests/swh_model_data.py 3 additions, 8 deletionsswh/model/tests/swh_model_data.py
- swh/model/tests/test_identifiers.py 49 additions, 62 deletionsswh/model/tests/test_identifiers.py
- swh/model/tests/test_model.py 21 additions, 44 deletionsswh/model/tests/test_model.py
Loading
Please register or sign in to comment