l.s.j.c.PrefixedTask(Task) : class documentation

Part of lp.services.job.celeryjob View In Hierarchy

A Task with more informative task_id defaults.
Method apply_async Create a task_id if none is specified.
def apply_async(self, args=None, kwargs=None, task_id=None, producer=None, link=None, link_error=None, shadow=None, **options):
Create a task_id if none is specified.

Override the quite generic default task_id with one containing the task_id_prefix.

See also celery.task.Task.apply_async().

API Documentation for Launchpad, generated by pydoctor at 2019-10-15 00:00:11.