swh.provenance package#
Subpackages#
Submodules#
Module contents#
- swh.provenance.get_provenance(cls: str, **kwargs: Dict[str, Any]) ProvenanceInterface [source]#
Get a provenance service of class cls with arguments args.
- Parameters:
cls – provenance’s class
args – dictionary of arguments passed to the search class constructor
- Returns:
an instance of swh.provenance’s classes
- Raises:
ValueError if passed an unknown search class. –