MCPcopy
hub / github.com/agent0ai/agent-zero / get_dotenv_value

Function get_dotenv_value

helpers/dotenv.py:20–22  ·  view source on GitHub ↗
(key: str, default: Any = None)

Source from the content-addressed store, hash-verified

18 return get_abs_path("usr/.env")
19
20def get_dotenv_value(key: str, default: Any = None):
21 # load_dotenv()
22 return os.getenv(key, default)
23
24def save_dotenv_value(key: str, value: str):
25 if value is None:

Callers 3

__init__Method · 0.90
testFunction · 0.90

Calls

no outgoing calls

Tested by 1

testFunction · 0.72