""" SQL 执行结果模型 """ from dataclasses import dataclass from typing import Dict, List, Optional @dataclass class SQLExecutionResult: """SQL执行结果""" success: bool sql: str data: Optional[List[Dict]] = None error: Optional[str] = None retry_count: int = 0 execution_time_ms: int = 0