assembl.tasks package

Module contents

Background tasks for running IdeaLoom.

Tasks are kept running by Circus. Short-lived tasks are written as Celery tasks; long-running tasks are mostly ad hoc at this point: the source_reader and changes_router.

class assembl.tasks.CeleryWithConfig(main=None, loader=None, backend=None, amqp=None, events=None, log=None, control=None, set_as_current=True, tasks=None, broker=None, include=None, changes=None, config_source=None, fixups=None, task_cls=None, autofinalize=True, namespace=None, strict_typing=True, **kwargs)[source]

Bases: celery.app.base.Celery

A Celery task that can receive settings