(name: str, default: int, *, min_value: int = 1, max_value: int = 100000)
| 364 | that act on the same variables used a denylist, so the settings panel could |
| 365 | report a feature as disabled while the agents had it enabled -- most visibly |
| 366 | for PAPERFLOW_WIKI_INGEST with a blank value. |
| 367 | """ |
| 368 | return shared_env.env_bool(name, default) |
| 369 | |
| 370 | |
| 371 | def _env_int(name: str, default: int, *, min_value: int = 1, max_value: int = 100000) -> int: |
| 372 | return shared_env.env_int(name, default, min_value=min_value, max_value=max_value) |
| 373 | |
| 374 |
no test coverage detected