This document describes the current stable version of Celery (3.1). For development docs, go here.
celery.utils.objects¶
celery.utils.objects¶
Object related utilities including introspection, etc.
-
celery.utils.objects.
mro_lookup
(cls, attr, stop=(), monkey_patched=[])[source]¶ Return the first node by MRO order that defines an attribute.
Parameters: - stop – A list of types that if reached will stop the search.
- monkey_patched – Use one of the stop classes if the attr’s module origin is not in this list, this to detect monkey patched attributes.
Returns None: if the attribute was not found.