(self, app: "Celery")
| 67 | """Fixup installed when using Django.""" |
| 68 | |
| 69 | def __init__(self, app: "Celery"): |
| 70 | self.app = app |
| 71 | if _state.default_app is None: |
| 72 | self.app.set_default() |
| 73 | self._worker_fixup: Optional["DjangoWorkerFixup"] = None |
| 74 | |
| 75 | def install(self) -> "DjangoFixup": |
| 76 | # Need to add project directory to path. |
nothing calls this directly
no test coverage detected