MCPcopy Index your code
hub / github.com/AI45Lab/Code / _repo_config

Function _repo_config

sdk/python/tests/test_serve.py:92–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91
92def _repo_config() -> str | None:
93 env = os.environ.get("A3S_CONFIG_FILE")
94 if env and os.path.isfile(env):
95 return env
96 here = pathlib.Path(__file__).resolve()
97 for parent in here.parents:
98 cand = parent / ".a3s" / "config.acl"
99 if cand.is_file():
100 return str(cand)
101 return None
102
103
104def test_serve_real_schedule() -> None:

Callers 1

test_serve_real_scheduleFunction · 0.85

Calls 2

resolveMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected