MCPcopy Create free account
hub / github.com/apple/ml-pointersect / get_base_dir

Function get_base_dir

pointersect/meta_script/meta_script_utils.py:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def get_base_dir() -> str:
11 filename = os.path.normpath(
12 os.path.join(
13 os.path.abspath(__file__),
14 '../../..',
15 ))
16 return filename
17
18
19def read_config(filename: str) -> T.Dict[str, T.Any]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected