interface: Add new method origin_visit_get_with_statuses
It enables to retrieve in an efficient and paginated way the list of visits and all their statuses for a given origin. Previously, it was required to call origin_visit_status_get on each visit of the origin to get such list. Related to T4090
parent
812590c2
No related branches found
No related tags found
Showing
- swh/storage/api/serializers.py 26 additions, 2 deletionsswh/storage/api/serializers.py
- swh/storage/cassandra/cql.py 15 additions, 1 deletionswh/storage/cassandra/cql.py
- swh/storage/cassandra/storage.py 54 additions, 2 deletionsswh/storage/cassandra/storage.py
- swh/storage/in_memory.py 14 additions, 1 deletionswh/storage/in_memory.py
- swh/storage/interface.py 39 additions, 1 deletionswh/storage/interface.py
- swh/storage/postgresql/db.py 41 additions, 1 deletionswh/storage/postgresql/db.py
- swh/storage/postgresql/storage.py 62 additions, 1 deletionswh/storage/postgresql/storage.py
- swh/storage/tests/storage_tests.py 301 additions, 1 deletionswh/storage/tests/storage_tests.py
Loading
-
Some references in the commit message have been migrated:
- T4090 is now #4090 (closed)
Please register or sign in to comment