The persisted effort (``""`` when unset/auto), read via the same ``get_settings()`` channel the rest of the app uses. Lazy import — see :func:`_levels`.
()
| 120 | |
| 121 | |
| 122 | def _settings_effort() -> str: |
| 123 | """The persisted effort (``""`` when unset/auto), read via the same ``get_settings()`` |
| 124 | channel the rest of the app uses. Lazy import — see :func:`_levels`.""" |
| 125 | from src.settings.settings import get_settings |
| 126 | |
| 127 | return get_settings().effort |
| 128 | |
| 129 | |
| 130 | def _current_effort() -> str: |
no test coverage detected