MCPcopy
hub / github.com/celery/celery / __evaluated__

Method __evaluated__

celery/local.py:309–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

307 pending.append((fun, args, kwargs))
308
309 def __evaluated__(self):
310 try:
311 object.__getattribute__(self, '__thing')
312 except AttributeError:
313 return False
314 return True
315
316 def __maybe_evaluate__(self):
317 return self._get_current_object()

Callers 3

test_callbacksMethod · 0.95
test_maybe_evaluateMethod · 0.95
__then__Method · 0.95

Calls 1

__getattribute__Method · 0.80

Tested by 2

test_callbacksMethod · 0.76
test_maybe_evaluateMethod · 0.76