Try to fetch daemonization option from applications settings. Use the daemon command name as prefix (eg. `worker` -> `worker_pidfile`)
(self, ctx: Context, opt: CeleryOption, value: Any)
| 272 | **kwargs) |
| 273 | |
| 274 | def daemon_setting(self, ctx: Context, opt: CeleryOption, value: Any) -> Any: |
| 275 | """ |
| 276 | Try to fetch daemonization option from applications settings. |
| 277 | Use the daemon command name as prefix (eg. `worker` -> `worker_pidfile`) |
| 278 | """ |
| 279 | return value or getattr(ctx.obj.app.conf, f"{ctx.command.name}_{self.name}", None) |
| 280 | |
| 281 | |
| 282 | class CeleryDaemonCommand(CeleryCommand): |
nothing calls this directly
no outgoing calls
no test coverage detected