MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / get_environment_variable

Function get_environment_variable

config/settings.py:58–60  ·  view source on GitHub ↗

Get environment variable value

(key: str, default: str = "")

Source from the content-addressed store, hash-verified

56
57
58def get_environment_variable(key: str, default: str = "") -> str:
59 """Get environment variable value"""
60 return os.environ.get(key, default)
61
62
63def get_boolean_env(key: str, default: bool = False) -> bool:

Calls 1

getMethod · 0.45