refactor: add aitbc package to Python path in marketplace-service

- Added sys and pathlib imports to main.py
- Inserted parent directory (5 levels up) to sys.path for aitbc package resolution
- Ensures marketplace-service can import shared aitbc modules
This commit is contained in:
aitbc
2026-05-19 12:49:26 +02:00
parent 83ca64f7b8
commit f82ccb8e7d

View File

@@ -3,6 +3,11 @@ Marketplace Service main application
Manages GPU marketplace operations
"""
import sys
from pathlib import Path
# Add aitbc package to Python path
sys.path.insert(0, str(Path(__file__).parent.parent.parent.parent.parent))
from contextlib import asynccontextmanager
from typing import AsyncIterator