Skip to content

Commit f6ab1e2

Browse files
committed
update sql
1 parent c915ce4 commit f6ab1e2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

jigsawstack/sql.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .async_request import AsyncRequest
55
from typing import List, Union
66
from ._config import ClientConfig
7+
from ._types import BaseResponse
78

89

910
class SQLParams(TypedDict):
@@ -28,11 +29,7 @@ class SQLParams(TypedDict):
2829
"""
2930

3031

31-
class SQLResponse(TypedDict):
32-
success: bool
33-
"""
34-
Indicates whether the translation was successful.
35-
"""
32+
class SQLResponse(BaseResponse):
3633
sql: str
3734
"""
3835
The SQL statement.

0 commit comments

Comments
 (0)