swh.search package

Module contents

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.