Skip to content

Commit 8e2933a

Browse files
feat(api): api update
1 parent 6293506 commit 8e2933a

File tree

6 files changed

+18
-2
lines changed

6 files changed

+18
-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: 107
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-36a963e6c328a93ce0efd8647f2805d26bc31106d3e494d5e2a3b35387a0352a.yml
3-
openapi_spec_hash: f9cb1bf47edd3b21767361c8a2864921
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-0242228e003ec6c562e80cd4bb3b5429237f2168f2379ebe5ef9d9c958552482.yml
3+
openapi_spec_hash: 772280fd4316ae74f76e3cba9f48e96d
44
config_hash: acdf4142177ed1932c2d82372693f811

src/asktable/resources/datasources/datasources.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ def create(
114114
"databend",
115115
"sqlserver",
116116
"mogdb",
117+
"hologres",
118+
"maxcompute",
117119
],
118120
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
119121
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -220,6 +222,8 @@ def update(
220222
"databend",
221223
"sqlserver",
222224
"mogdb",
225+
"hologres",
226+
"maxcompute",
223227
]
224228
]
225229
| NotGiven = NOT_GIVEN,
@@ -608,6 +612,8 @@ async def create(
608612
"databend",
609613
"sqlserver",
610614
"mogdb",
615+
"hologres",
616+
"maxcompute",
611617
],
612618
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
613619
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -714,6 +720,8 @@ async def update(
714720
"databend",
715721
"sqlserver",
716722
"mogdb",
723+
"hologres",
724+
"maxcompute",
717725
]
718726
]
719727
| NotGiven = NOT_GIVEN,

src/asktable/types/datasource.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class Datasource(BaseModel):
3838
"databend",
3939
"sqlserver",
4040
"mogdb",
41+
"hologres",
42+
"maxcompute",
4143
]
4244
"""数据源引擎"""
4345

src/asktable/types/datasource_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class DatasourceCreateParams(TypedDict, total=False):
3939
"databend",
4040
"sqlserver",
4141
"mogdb",
42+
"hologres",
43+
"maxcompute",
4244
]
4345
]
4446
"""数据源引擎"""

src/asktable/types/datasource_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ class DatasourceRetrieveResponse(BaseModel):
9393
"databend",
9494
"sqlserver",
9595
"mogdb",
96+
"hologres",
97+
"maxcompute",
9698
]
9799
"""数据源引擎"""
98100

src/asktable/types/datasource_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class DatasourceUpdateParams(TypedDict, total=False):
4444
"databend",
4545
"sqlserver",
4646
"mogdb",
47+
"hologres",
48+
"maxcompute",
4749
]
4850
]
4951
"""数据源引擎"""

0 commit comments

Comments
 (0)