From f82ccb8e7dab05e58c8b213004c18d3e24d27a74 Mon Sep 17 00:00:00 2001 From: aitbc Date: Tue, 19 May 2026 12:49:26 +0200 Subject: [PATCH] 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 --- apps/marketplace-service/src/marketplace_service/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/marketplace-service/src/marketplace_service/main.py b/apps/marketplace-service/src/marketplace_service/main.py index ec3ba3a5..a732cd42 100644 --- a/apps/marketplace-service/src/marketplace_service/main.py +++ b/apps/marketplace-service/src/marketplace_service/main.py @@ -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