MCPcopy
hub / github.com/celery/celery / store_result

Method store_result

t/unit/worker/test_request.py:137–139  ·  view source on GitHub ↗
(tid, meta, state, **kwargs)

Source from the content-addressed store, hash-verified

135 _started = []
136
137 def store_result(tid, meta, state, **kwargs):
138 if state == states.STARTED:
139 _started.append(tid)
140
141 self.mytask.backend.store_result = Mock(name='store_result')
142 self.mytask.backend.store_result.side_effect = store_result

Calls

no outgoing calls

Tested by

no test coverage detected