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

Function _first_env

paperflow/providers/config.py:91–96  ·  view source on GitHub ↗
(*names: str)

Source from the content-addressed store, hash-verified

89
90
91def _first_env(*names: str) -> str:
92 for name in names:
93 value = os.environ.get(name, "").strip()
94 if value:
95 return value
96 return ""
97
98
99def load_provider_config() -> ProviderConfig:

Callers 1

load_provider_configFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected