checkpoint(src): Codebase restructuring and import resolution complete
This commit is contained in:
@@ -3,10 +3,13 @@ import json
|
||||
import logging
|
||||
import os
|
||||
|
||||
# Add project root to sys.path so we can import api_hook_client
|
||||
# Add project root and src/ to sys.path so we can import api_hook_client
|
||||
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
if project_root not in sys.path:
|
||||
sys.path.append(project_root)
|
||||
src_path = os.path.join(project_root, "src")
|
||||
if src_path not in sys.path:
|
||||
sys.path.append(src_path)
|
||||
|
||||
try:
|
||||
from api_hook_client import ApiHookClient
|
||||
|
||||
Reference in New Issue
Block a user