Changeset View
Changeset View
Standalone View
Standalone View
swh/search/interface.py
- This file was added.
# Copyright (C) 2020 The Software Heritage developers | |||||
# See the AUTHORS file at the top-level directory of this distribution | |||||
# License: GNU General Public License version 3, or any later version | |||||
# See top-level LICENSE file for more information | |||||
from typing import TypeVar | |||||
from swh.core.api.classes import PagedResult as CorePagedResult | |||||
TResult = TypeVar("TResult") | |||||
PagedResult = CorePagedResult[TResult, str] | |||||
vlorentz: switch to strings for consistency with swh-storage, and you can drop the base64encoding | |||||
Done Inline Actionsyes, ok, it's currently annoying me in the webapp ;) ardumont: yes, ok, it's currently annoying me in the webapp ;) |
switch to strings for consistency with swh-storage, and you can drop the base64encoding