(status, perc)
| 28 | |
| 29 | if kwargs.get("with_progress"): |
| 30 | def progress_callback(status, perc): |
| 31 | self.update_state(state="PROGRESS", meta={"status": status, "progress": perc}) |
| 32 | kwargs['progress_callback'] = progress_callback |
| 33 | del kwargs['with_progress'] |
| 34 |