MCPcopy Create free account
hub / github.com/Sophomoresty/gemini-web2api / load_config

Function load_config

gemini_web2api/config.py:24–29  ·  view source on GitHub ↗

Load config from JSON file.

(path: str = None)

Source from the content-addressed store, hash-verified

22
23
24def load_config(path: str = None):
25 """Load config from JSON file."""
26 if path and os.path.exists(path):
27 with open(path) as f:
28 CONFIG.update(json.load(f))
29 return CONFIG
30
31
32def find_config():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected