Skip to content

Commit dc5a071

Browse files
feat(api): api update
1 parent 1784353 commit dc5a071

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-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: 105
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-3569c64d02d83ade05b95d417fdff1b68dc5aa46856ef948e5016c7ba20dd4dc.yml
3-
openapi_spec_hash: 63c4eabd0ead2fac3d9495f0ba2be442
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-5b77290ecd8015e20a1f710854d3c4479b5040332c2f2cd193383d90eb537a40.yml
3+
openapi_spec_hash: ea3787a550b214abf906504fc047697e
44
config_hash: acdf4142177ed1932c2d82372693f811

src/asktable/_utils/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
2626
else:
2727
import types
2828

29-
return tp is Union or tp is types.UnionType
29+
return tp is Union or tp is types.UnionType # type: ignore[comparison-overlap]
3030

3131

3232
def is_typeddict(tp: Type[Any]) -> bool:

src/asktable/types/project_list_model_groups_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class ProjectListModelGroupsResponseItem(BaseModel):
3535
id: str
3636
"""模型组 ID"""
3737

38+
api_key: str
39+
"""API 密钥"""
40+
3841
available_models: List[str]
3942
"""可用模型列表"""
4043

src/asktable/types/sys/project_model_groups_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class ProjectModelGroupsResponseItem(BaseModel):
3131
id: str
3232
"""模型组 ID"""
3333

34+
api_key: str
35+
"""API 密钥"""
36+
3437
available_models: List[str]
3538
"""可用模型列表"""
3639

src/asktable/types/user/project_retrieve_model_groups_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class ProjectRetrieveModelGroupsResponseItem(BaseModel):
3535
id: str
3636
"""模型组 ID"""
3737

38+
api_key: str
39+
"""API 密钥"""
40+
3841
available_models: List[str]
3942
"""可用模型列表"""
4043

0 commit comments

Comments
 (0)