Datastructures - celery.datastructures

Custom Datastructures

class celery.datastructures.ExceptionInfo(exc_info)

Exception wrapping an exception and its traceback.

Parameter:exc_info – The exception tuple info as returned by traceback.format_exception().
exception
The original exception.
traceback
A traceback from the point when exception was raised.
class celery.datastructures.PositionQueue(length)

A positional queue of a specific length, with slots that are either filled or unfilled. When all of the positions are filled, the queue is considered full().

Parameter:length – see length.
length
The number of items required for the queue to be considered full.
class UnfilledPosition(position)
Describes an unfilled slot.
PositionQueue.filled
Returns the filled slots as a list.
PositionQueue.full()
Returns True if all of the slots has been filled.

Previous topic

Configuration - celery.conf

Next topic

Logging - celery.log

This Page