- Mar 11, 2020
-
-
David Douard authored
it was still here for bw-compat but should not be necessary any more.
-
David Douard authored
this function does not need to be a local function of the to_dict namespace.
-
- 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.
-
- Feb 07, 2020
-
-
vlorentz authored
The current postgresql model refuses NULL values.
- Feb 05, 2020
-
- Jan 30, 2020
-
-
Antoine R. Dumont authored
Related to P589
-
- Jan 17, 2020
-
-
Antoine Lambert authored
Related to T2188
-
- 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 23, 2019
-
-
Nicolas Dandrimont authored
Instead of relying on attr.asdict recursion, we do recursion ourselves. This simplifies a lot of the inherited to_dict() methods.
-
- Oct 18, 2019
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Sep 15, 2019
-
-
Stefano Zacchiroli authored
-
- Sep 04, 2019
-
-
vlorentz authored
Needed by the replayer in swh-journal.
- Aug 23, 2019
-
-
vlorentz authored
-
- Aug 22, 2019
-
-
vlorentz authored
- Aug 21, 2019
- Aug 20, 2019
-
- Aug 19, 2019
- Aug 05, 2019
-
- Jul 18, 2019
-
- May 10, 2019
-
-
vlorentz authored
There is more repetition, but it's easier to read and '%timeit Revision.from_dict(d)' is 5 times faster.
-
- Apr 26, 2019
-
- Apr 16, 2019
-
-
vlorentz authored
-
- Apr 09, 2019
-
- Apr 08, 2019
-