Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ evaluate_promises
Function
evaluate_promises
celery/utils/functional.py:69–73 ·
view source on GitHub ↗
(it)
Source
from the content-addressed store, hash-verified
67
68
69
def
evaluate_promises(it):
70
for
value in it:
71
if
isinstance(value, promise):
72
value = value()
73
yield
value
74
75
76
def
first(predicate, it):
Callers
1
first
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected