代码迁移

This commit is contained in:
Neo
2025-11-18 02:28:47 +08:00
parent ccf3baca2b
commit 84e80841cd
86 changed files with 185483 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
"""数据质量检查器基类"""
class BaseDataQualityChecker:
"""数据质量检查器基类"""
def __init__(self, db_connection, logger):
self.db = db_connection
self.logger = logger
def check(self) -> dict:
"""
执行质量检查
返回: {
"passed": bool,
"checks": [{"name": str, "passed": bool, "message": str}]
}
"""
raise NotImplementedError("子类需实现 check 方法")