restore composer.json, add mysqli extension

This commit is contained in:
2026-04-13 17:34:56 +05:00
parent 524c5cc69c
commit 7727cfab19

View File

@@ -132,7 +132,15 @@ def build_product_data(doc_id: str, data: dict) -> dict:
_section_id=data.get("section_id") or "",
)
def print_progress(current, total, created, updated, skipped, errors):
percent = int(current / total * 100) if total else 0
bar_filled = percent // 5
bar = "" * bar_filled + "" * (20 - bar_filled)
line = (
f"\r [{bar}] {percent:3d}% "
f"{current}/{total} | "
f"{created}{updated}{skipped}{errors}"
)
print(line, end="", flush=True)