(self: Task, total: int)
| 16 | |
| 17 | @shared_task(bind=True, ignore_result=False) |
| 18 | def process(self: Task, total: int) -> object: |
| 19 | for i in range(total): |
| 20 | self.update_state(state="PROGRESS", meta={"current": i + 1, "total": total}) |
| 21 | time.sleep(1) |
| 22 | |
| 23 | return {"current": total, "total": total} |
nothing calls this directly
no outgoing calls
no test coverage detected