swh.loader.core.metadata_fetchers module#
- class swh.loader.core.metadata_fetchers.MetadataFetcherProtocol(origin: Origin, credentials: Dict[str, Dict[str, List[Dict[str, str]]]] | None, lister_name: str, lister_instance_name: str)[source]#
Bases:
Protocol
Interface provided by
swh.loader.metadata.base.BaseMetadataFetcher
to loaders, via setuptools entrypoints.- get_origin_metadata() List[RawExtrinsicMetadata] [source]#