Instead of untyped dictionaries.
This makes snapshot_get longer and duplicates its code across backends;
but snapshot_get should be removed soon.
Related: T645
Differential D3740
Make snapshot_get_branches return a TypedDict containing SnapshotBranch objects. vlorentz on Aug 7 2020, 2:04 PM. Authored by
Details
Instead of untyped dictionaries. This makes snapshot_get longer and duplicates its code across backends; Related: T645
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3740 (id=13167)Rebasing onto d9ff3912d5... Current branch diff-target is up to date. Changes applied before testcommit 9235cb4e7ba2ffe6d63c0d9278807c9f640d24ee Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Aug 7 14:04:37 2020 +0200 Make snapshot_get_branches return a TypedDict containing SnapshotBranch objects. Instead of untyped dictionaries. This makes snapshot_get longer and duplicates its code across backends; but snapshot_get should be removed soon. Related: T645 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/716/ for more details.
Comment Actions Build is green Patch application report for D3740 (id=13179)Rebasing onto d9ff3912d5... Current branch diff-target is up to date. Changes applied before testcommit 4918759fc84376b16ebf82c60da9d2c17d265821 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Aug 7 14:04:37 2020 +0200 Make snapshot_get_branches return a TypedDict containing SnapshotBranch objects. Instead of untyped dictionaries. This makes snapshot_get longer and duplicates its code across backends; but snapshot_get should be removed soon. Related: T645 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/717/ for more details. |