MCPcopy Create free account
hub / github.com/DVampire/FinAgent / assemble_project_path

Function assemble_project_path

finagent/utils/file_utils.py:4–8  ·  view source on GitHub ↗

Assemble a path relative to the project root directory

(path)

Source from the content-addressed store, hash-verified

2
3
4def assemble_project_path(path):
5 """Assemble a path relative to the project root directory"""
6 if not os.path.isabs(path):
7 path = os.path.join(get_project_root(), path)
8 return path
9
10def gen_relative_project_path(path):
11

Callers 6

__init__Method · 0.90
_load_tradersMethod · 0.90
_load_asset_infosMethod · 0.90
_load_modulesMethod · 0.90
exists_in_project_pathFunction · 0.85
read_resource_fileFunction · 0.85

Calls 1

get_project_rootFunction · 0.85

Tested by

no test coverage detected