Files
JiuContinent bf309ecdf7 ```
refactor(core,ai): 调整模块导入路径并移除废弃文件

- 修复 scheduler.py 中的导入路径错误,将 reports.service
  改为 reports.services
- 移除废弃的 app/core/background/task_queue.py 文件
- 移除废弃的 app/modules/ai_agent/adapters.py 文件
- 修复 ai_memory/service.py 中的导入路径错误,将
  events.service 改为 events.services
```
2026-07-09 18:50:52 +08:00

19 lines
607 B
Python

from sqlalchemy.orm import Session
from app.modules.legacy_mysql.services.mappers import LegacyMapperMixin
from app.modules.legacy_mysql.services.project_sync import LegacyProjectSyncMixin
from app.modules.legacy_mysql.services.query import LegacyQueryMixin
from app.modules.legacy_mysql.services.task_sync import LegacyTaskSyncMixin
class LegacyMySQLService(
LegacyTaskSyncMixin,
LegacyProjectSyncMixin,
LegacyMapperMixin,
LegacyQueryMixin,
):
"""Read legacy MySQL data and sync projects into the internal ledger."""
def __init__(self, db: Session | None):
self.db = db