Skip to content

Commit fd21534

Browse files
feat(api): api update
1 parent b388e91 commit fd21534

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 107
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-e5dff6c4e46c2beba390d894b165ef6efc345d1f3f2838abafb395a04d06ea9d.yml
3-
openapi_spec_hash: b99f2c82ee5bea53e895fec4acbf53e8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-dc53acf4bfb4deead53bc008e3f9c1f33d6bd345cfdc4957cea85c1bb1f775ce.yml
3+
openapi_spec_hash: 0e80862ca984d26998a61e20f44e37d7
44
config_hash: acdf4142177ed1932c2d82372693f811

src/asktable/types/ats/task_get_case_tasks_response.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22

33
from typing import List, Union, Optional
44
from datetime import datetime
5+
from typing_extensions import Literal
56

67
from ..._models import BaseModel
78

8-
__all__ = ["TaskGetCaseTasksResponse", "Item"]
9+
__all__ = ["TaskGetCaseTasksResponse", "Item", "ItemCompareLog"]
10+
11+
12+
class ItemCompareLog(BaseModel):
13+
check: str
14+
15+
level: Literal["ERROR", "WARNING", "INFO"]
16+
17+
message: str
918

1019

1120
class Item(BaseModel):
@@ -33,6 +42,9 @@ class Item(BaseModel):
3342
atc_id: Optional[str] = None
3443
"""对应的测试用例 ID"""
3544

45+
compare_logs: Optional[List[ItemCompareLog]] = None
46+
"""测试样本生成 sql 和预期 sql 的对比日志"""
47+
3648
duration: Optional[float] = None
3749
"""测试用例执行时间,单位为秒"""
3850

0 commit comments

Comments
 (0)