-
- Downloads
archive: Fetch visit types associated to an origin in lookup_origin
In order to support origin with multiple visit types in browse interface, update lookup_origin* implementation to fetch the visit types associated to an origin in an efficient way using swh-search. Related to #4786.
Showing
- swh/web/api/tests/views/test_origin.py 4 additions, 1 deletionswh/web/api/tests/views/test_origin.py
- swh/web/api/views/origin.py 1 addition, 0 deletionsswh/web/api/views/origin.py
- swh/web/browse/tests/test_snapshot_context.py 1 addition, 1 deletionswh/web/browse/tests/test_snapshot_context.py
- swh/web/utils/archive.py 10 additions, 3 deletionsswh/web/utils/archive.py
- swh/web/utils/tests/test_archive.py 6 additions, 2 deletionsswh/web/utils/tests/test_archive.py
- swh/web/utils/typing.py 4 additions, 2 deletionsswh/web/utils/typing.py
Loading
Please register or sign in to comment