This document describes an older version of Celery (2.1).
For the latest stable version please
go here.
Python Compatibility - celery.utils.compat
-
class celery.utils.compat.OrderedDict(*args, **kwds)
Dictionary that remembers insertion order
-
clear() → None. Remove all items from od.
-
copy() → a shallow copy of od
-
classmethod fromkeys(S[, v]) → New ordered dictionary with keys from S
and values equal to v (which defaults to None).
-
items()
-
iteritems()
-
iterkeys()
-
itervalues()
-
keys()
-
pop(key, default=<object object at 0x4082b00>)
-
popitem() -> (k, v)
Return and remove a (key, value) pair.
Pairs are returned in LIFO order if last is true or FIFO
order if false.
-
setdefault(key, default=None)
-
update(other=(), **kwds)
-
values()
-
celery.utils.compat.chain_from_iterable()
chain.from_iterable(iterable) –> chain object
Alternate chain() contructor taking a single iterable argument
that evaluates lazily.