Skip to content

Commit 8cfc989

Browse files
feat(api): api update
1 parent d281683 commit 8cfc989

File tree

8 files changed

+25
-2
lines changed

8 files changed

+25
-2
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: 96
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-6a550adde09a0b42a44b98e83c45064687dc1d7540789f8d0fabb66f2ae84e39.yml
3-
openapi_spec_hash: 1412ef9cabd0756e983e400f6fa3933c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-45d2602f83b88dbbc665744d25d5d9785032f68fcbed81c798ae70ed4ab28355.yml
3+
openapi_spec_hash: 166267ae1e2f2c0505fb591b83400cbc
44
config_hash: a572ab842ea60ce13f1d1a1358440cbe

src/asktable/types/business_glossary_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class Body(TypedDict, total=False):
1919
term: Required[str]
2020
"""业务术语"""
2121

22+
active: bool
23+
"""业务术语是否生效"""
24+
2225
aliases: Optional[List[str]]
2326
"""业务术语同义词"""
2427

src/asktable/types/entry.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class Entry(BaseModel):
2424
term: str
2525
"""业务术语"""
2626

27+
active: Optional[bool] = None
28+
"""业务术语是否生效"""
29+
2730
aliases: Optional[List[str]] = None
2831
"""业务术语同义词"""
2932

src/asktable/types/entry_with_definition.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class EntryWithDefinition(BaseModel):
2727
term: str
2828
"""业务术语"""
2929

30+
active: Optional[bool] = None
31+
"""业务术语是否生效"""
32+
3033
aliases: Optional[List[str]] = None
3134
"""业务术语同义词"""
3235

src/asktable/types/policy_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,7 @@ class DatasetConfig(TypedDict, total=False):
8787
- 暂不支持对字段使用函数计算,比如不支持 "YEAR(public.user.created_at) = 2023"
8888
- 暂不支持多个过滤条件的组合,,比如不支持 "uid = {{user_id}} AND city_id =
8989
{{city_id}}"
90+
- 支持中文 Unicode 编码范围:4E00-9FFF(查询是否支持参考
91+
:https://www.unicode.org/cgi-bin/GetUnihanData.pl, 编码范围参考
92+
:https://www.unicode.org/charts/PDF/U4E00.pdf)
9093
"""

src/asktable/types/policy_update_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,7 @@ class DatasetConfig(TypedDict, total=False):
107107
- 暂不支持对字段使用函数计算,比如不支持 "YEAR(public.user.created_at) = 2023"
108108
- 暂不支持多个过滤条件的组合,,比如不支持 "uid = {{user_id}} AND city_id =
109109
{{city_id}}"
110+
- 支持中文 Unicode 编码范围:4E00-9FFF(查询是否支持参考
111+
:https://www.unicode.org/cgi-bin/GetUnihanData.pl, 编码范围参考
112+
:https://www.unicode.org/charts/PDF/U4E00.pdf)
110113
"""

src/asktable/types/training_create_response.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ class TrainingCreateResponseItem(BaseModel):
1414
"""训练数据 ID"""
1515

1616
created_at: datetime
17+
"""创建时间"""
1718

1819
datasource_id: str
1920
"""数据源 ID"""
2021

22+
modified_at: datetime
23+
"""更新时间"""
24+
2125
project_id: str
2226
"""项目 ID"""
2327

src/asktable/types/training_list_response.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ class TrainingListResponse(BaseModel):
1414
"""训练数据 ID"""
1515

1616
created_at: datetime
17+
"""创建时间"""
1718

1819
datasource_id: str
1920
"""数据源 ID"""
2021

22+
modified_at: datetime
23+
"""更新时间"""
24+
2125
project_id: str
2226
"""项目 ID"""
2327

0 commit comments

Comments
 (0)