Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/metadata_dictionary/__init__.py
Show All 19 Lines | INTRINSIC_MAPPINGS: Dict[str, Type[BaseIntrinsicMapping]] = { | ||||
"PubMapping": dart.PubspecMapping, | "PubMapping": dart.PubspecMapping, | ||||
"PythonPkginfoMapping": python.PythonPkginfoMapping, | "PythonPkginfoMapping": python.PythonPkginfoMapping, | ||||
"ComposerMapping": composer.ComposerMapping, | "ComposerMapping": composer.ComposerMapping, | ||||
"NuGetMapping": nuget.NuGetMapping, | "NuGetMapping": nuget.NuGetMapping, | ||||
} | } | ||||
EXTRINSIC_MAPPINGS: Dict[str, Type[BaseExtrinsicMapping]] = { | EXTRINSIC_MAPPINGS: Dict[str, Type[BaseExtrinsicMapping]] = { | ||||
"GitHubMapping": github.GitHubMapping, | "GitHubMapping": github.GitHubMapping, | ||||
"JsonSwordCodemetaMapping": codemeta.JsonSwordCodemetaMapping, | |||||
"SwordCodemetaMapping": codemeta.SwordCodemetaMapping, | "SwordCodemetaMapping": codemeta.SwordCodemetaMapping, | ||||
} | } | ||||
MAPPINGS: Dict[str, Type[BaseMapping]] = {**INTRINSIC_MAPPINGS, **EXTRINSIC_MAPPINGS} | MAPPINGS: Dict[str, Type[BaseMapping]] = {**INTRINSIC_MAPPINGS, **EXTRINSIC_MAPPINGS} | ||||
def list_terms(): | def list_terms(): | ||||
Show All 23 Lines |