File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3131from app .logging_config import get_logger
3232from app .resilience import CircuitBreaker , CircuitBreakerConfig , compute_backoff_seconds
3333from db .connection import DatabaseManager
34+ from db .executor import QueryResult
3435from db .schema import SchemaInfo , SchemaIntrospector
3536
3637logger = get_logger (__name__ )
@@ -999,7 +1000,7 @@ async def execute_sql(
9991000 sql : str ,
10001001 database_id : str | None = None ,
10011002 max_rows : int = 1000 ,
1002- ) -> " QueryResult" :
1003+ ) -> QueryResult :
10031004 """
10041005 Execute a SQL query using the safe executor.
10051006
@@ -1011,7 +1012,7 @@ async def execute_sql(
10111012 Returns:
10121013 QueryResult with execution results
10131014 """
1014- from db .executor import QueryResult , SafeQueryExecutor
1015+ from db .executor import SafeQueryExecutor
10151016
10161017 async with self ._db_manager .session () as session :
10171018 executor = SafeQueryExecutor (
You can’t perform that action at this time.
0 commit comments