restapi.utilities.meta.Meta.get_celery_tasks

static Meta.get_celery_tasks(package_name)[source]

Extract all celery tasks from a module. Celery tasks are functions decorated by @CeleryExt.celery_app.task(…) This decorator transform the function into a class child of celery.local.PromiseProxy

Parameters:

package_name (str)

Return type:

list[Callable[..., Any]]