swh.search package#
Subpackages#
Submodules#
Module contents#
- swh.search.get_search(cls: str, **kwargs: Dict[str, Any]) SearchInterface [source]#
Get an search object of class cls with arguments args.
- Parameters:
cls – search’s class, either ‘local’ or ‘remote’
args – dictionary of arguments passed to the search class constructor
- Returns:
an instance of swh.search’s classes (either local or remote)
- Raises:
ValueError if passed an unknown search class. –