swh.scheduler package#

Subpackages#

Submodules#

Module contents#

swh.scheduler.get_scheduler(cls: str, **kwargs) SchedulerInterface[source]#

Get a scheduler object of class cls with arguments **kwargs.

Parameters:
  • cls – scheduler’s class

  • kwargs – arguments to pass to the class’ constructor

Returns:

an instance of swh.scheduler.

Raises:

ValueError if passed an unknown storage class.