Watch
1
0
Fork
You've already forked arc
0
forked from hesabix/arc
arc/hesabixAPI/app/services/legacy_sql/__init__.py
2026-05-29 18:22:11 +03:30

17 lines
469 B
Python

"""ایمپورت دیتابیس قدیمی MySQL (دامپ .sql)."""
__all__ = [
"LegacyImportOptions",
"LegacySqlImportService",
]
def __getattr__(name: str):
if name in ("LegacyImportOptions", "LegacySqlImportService"):
from app.services.legacy_sql.legacy_sql_import_service import (
LegacyImportOptions,
LegacySqlImportService,
)
return LegacyImportOptions if name == "LegacyImportOptions" else LegacySqlImportService
raise AttributeError(name)