Changeset View
Changeset View
Standalone View
Standalone View
swh/provenance/storage/postgresql.py
- This file was moved from swh/provenance/postgresql/provenance.py.
Show All 13 Lines | |||||
from typing import Dict, Generator, Iterable, List, Optional, Set, Type, Union | from typing import Dict, Generator, Iterable, List, Optional, Set, Type, Union | ||||
import psycopg2.extensions | import psycopg2.extensions | ||||
import psycopg2.extras | import psycopg2.extras | ||||
from swh.core.db import BaseDb | from swh.core.db import BaseDb | ||||
from swh.core.statsd import statsd | from swh.core.statsd import statsd | ||||
from swh.model.model import Sha1Git | from swh.model.model import Sha1Git | ||||
from swh.provenance.storage.interface import ( | |||||
from ..interface import ( | |||||
DirectoryData, | DirectoryData, | ||||
EntityType, | EntityType, | ||||
ProvenanceResult, | ProvenanceResult, | ||||
ProvenanceStorageInterface, | ProvenanceStorageInterface, | ||||
RelationData, | RelationData, | ||||
RelationType, | RelationType, | ||||
RevisionData, | RevisionData, | ||||
) | ) | ||||
▲ Show 20 Lines • Show All 372 Lines • Show Last 20 Lines |