HomeSoftware Heritage

celery: auto add tasks declared in the swh.workers entry point in task_modules

Description

celery: auto add tasks declared in the swh.workers entry point in task_modules

allows to declare worker tasks in a 'swh.workers' entry point. This later is
expected to be a callable which returns a dict which 'task_modules' key is
a list of python module names where celery tasks are defined.

Details