Changeset View
Changeset View
Standalone View
Standalone View
swh/provenance/postgresql/archive.py
# Copyright (C) 2021 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 Any, Dict, Iterable, List | from typing import Any, Dict, Iterable, List | ||||
from methodtools import lru_cache | from methodtools import lru_cache | ||||
import psycopg2 | import psycopg2 | ||||
from swh.model.model import Sha1Git | from swh.model.model import Sha1Git | ||||
from swh.storage.postgresql.storage import Storage | from swh.storage.postgresql.storage import Storage | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |