MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _env_int

Function _env_int

deployments/desktop/shared/agents.py:366–371  ·  view source on GitHub ↗
(name: str, default: int, *, min_value: int = 1, max_value: int = 100000)

Source from the content-addressed store, hash-verified

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
371def _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

Callers 1

Calls 1

getMethod · 0.80

Tested by

no test coverage detected