This document describes the current stable version of Celery (5.3). For development docs, go here.
Streaming, truncating, non-recursive version of
Differences from regular
Sets are represented the Python 3 way:
Unicode strings does not have the
u'prefix, even on Python 2.
Empty set formatted as
set()(Python 3), not
Longs don’t have the
Very slow with no limits, super quick with limits.
- celery.utils.saferepr.reprstream(stack: ~collections.deque, seen: ~typing.Optional[~typing.Set] = None, maxlevels: int = 3, level: int = 0, isinstance: ~typing.Callable = <built-in function isinstance>) Iterator[Any] ¶
Streaming repr, yielding tokens.