Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/storage/__init__.py
Show All 32 Lines | from .model import ( | ||||
OriginIntrinsicMetadataRow, | OriginIntrinsicMetadataRow, | ||||
RevisionIntrinsicMetadataRow, | RevisionIntrinsicMetadataRow, | ||||
) | ) | ||||
from .writer import JournalWriter | from .writer import JournalWriter | ||||
INDEXER_CFG_KEY = "indexer_storage" | INDEXER_CFG_KEY = "indexer_storage" | ||||
MAPPING_NAMES = ["codemeta", "gemspec", "maven", "npm", "pkg-info"] | MAPPING_NAMES = ["cff", "codemeta", "gemspec", "maven", "npm", "pkg-info"] | ||||
SERVER_IMPLEMENTATIONS: Dict[str, str] = { | SERVER_IMPLEMENTATIONS: Dict[str, str] = { | ||||
"local": ".IndexerStorage", | "local": ".IndexerStorage", | ||||
"remote": ".api.client.RemoteStorage", | "remote": ".api.client.RemoteStorage", | ||||
"memory": ".in_memory.IndexerStorage", | "memory": ".in_memory.IndexerStorage", | ||||
} | } | ||||
▲ Show 20 Lines • Show All 674 Lines • Show Last 20 Lines |