swh.lister package

Subpackages

Module contents

swh.lister.get_lister(lister_name, db_url=None, **conf)[source]

Instantiate a lister given its name.

Parameters
  • lister_name (str) – Lister’s name

  • conf (dict) – Configuration dict (lister db cnx, policy, priority…)

Returns

Tuple (instantiated lister, drop_tables function, init schema function, insert minimum data function)