(self)
| 678 | pass |
| 679 | |
| 680 | def _ensure_not_eager(self): |
| 681 | if self.app.conf.task_always_eager and not self.app.conf.task_store_eager_result: |
| 682 | warnings.warn( |
| 683 | "Results are not stored in backend and should not be retrieved when " |
| 684 | "task_always_eager is enabled, unless task_store_eager_result is enabled.", |
| 685 | RuntimeWarning |
| 686 | ) |
| 687 | |
| 688 | def exception_safe_to_retry(self, exc): |
| 689 | """Check if an exception is safe to retry. |
no outgoing calls
no test coverage detected