shop product refactoring

This commit is contained in:
2025-10-04 23:38:53 +02:00
parent 4d2866af5e
commit 0114b6c46e
68 changed files with 2234 additions and 2236 deletions

View File

@@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
async def process_marketplace_import(
job_id: int, url: str, marketplace: str, shop_name: str, batch_size: int = 1000
job_id: int, url: str, marketplace: str, vendor_name: str, batch_size: int = 1000
):
"""Background task to process marketplace CSV import."""
db = SessionLocal()
@@ -44,7 +44,7 @@ async def process_marketplace_import(
# Process CSV
result = await csv_processor.process_marketplace_csv_from_url(
url, marketplace, shop_name, batch_size, db
url, marketplace, vendor_name, batch_size, db
)
# Update job with results