- Apr 01, 2020
-
-
David Douard authored
-
- Mar 31, 2020
-
-
Antoine R. Dumont authored
(pairing with @vlorentz) Related to T2310
-
- Mar 11, 2020
-
-
David Douard authored
this does not work in the general case since there is no (recursive) convertion of objects used as model object initialization. We can only check when using the from_dict() factory.
-
David Douard authored
for better clarity on the code author's intention.
-
- Mar 04, 2020
-
- Mar 02, 2020
-
-
Nicolas Dandrimont authored
This lets us generate Content objects directly from a bytestring, with the proper set of hashes auto-generated from the contents.
-
- Feb 27, 2020
-
-
vlorentz authored
Will be used by loaders.
-
- Feb 24, 2020
-
-
vlorentz authored
They will be used by loaders, so they can deal only with model objects, instead of having to do the same conversion themselves. This removes the `data` and `save_path` arguments of `from_file` and `from_disk`, as data loading is always deferred from now on. To access it, users are now expected to either open the data files themselves, or us `.to_model().with_data()`.
-
- Feb 14, 2020
-
-
vlorentz authored
Can be useful to deduplicate code in swh-storage.
-
- Jan 30, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
Related to P589
-
- Nov 29, 2019
-
-
Antoine Lambert authored
Add support to automatically compute identifier in the following object models: Directory, Release, Revision, Snapshot. If the identifier is not provided as parameter, it will be computed when the model is initialized.
-
- Oct 30, 2019
-
- Oct 29, 2019
-
-
David Douard authored
we do not really need them to be mutable, plus we gain their instances now being hashable, so we can add them in set() for example.
-
- Oct 18, 2019
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Aug 20, 2019
-
- Apr 26, 2019
-
- Apr 16, 2019
-
-
vlorentz authored
-