Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
91
def
_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
99
def
load_provider_config() -> ProviderConfig:
Callers
1
load_provider_config
Function · 0.85
Calls
1
get
Method · 0.80
Tested by
no test coverage detected