HomeSoftware Heritage

Remove 'id' and 'object_id' from the output of object_find_by_sha1_git.

Description

Remove 'id' and 'object_id' from the output of object_find_by_sha1_git.

'id' is not used anymore, and 'object_id' never was.
This commit slightly simplifies existing code, and will allow
some deduplication in the upcoming Cassandra backend.

Details

Provenance
vlorentzAuthored on Jan 17 2020, 2:49 PM
vlorentzPushed on Jan 17 2020, 4:28 PM
Differential Revision
D2549: Remove 'id' and 'object_id' from the output of object_find_by_sha1_git.
Parents
rDSTOCb5a5084467ad: Make origin_visit_get_random return None instead of {} if there are no results.
Branches
Unknown
Tags
Unknown