Skip to content

Commit 645b80a

Browse files
feat(api): api update (#187)
1 parent dcaee52 commit 645b80a

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 96
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-c30d8d770e7eebaf6759a81297d7acb36f8727cac39666a92f60a088db2845db.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-10d44714ee3dc6026ddd16d5f97af6c5f5807d40d0333deb20cb458d2b79047a.yml

src/asktable/resources/datasources/datasources.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def create(
112112
"dameng",
113113
"adbmysql",
114114
"adbpostgres",
115+
"xugu",
115116
],
116117
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
117118
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -211,6 +212,7 @@ def update(
211212
"dameng",
212213
"adbmysql",
213214
"adbpostgres",
215+
"xugu",
214216
]
215217
]
216218
| NotGiven = NOT_GIVEN,
@@ -582,6 +584,7 @@ async def create(
582584
"dameng",
583585
"adbmysql",
584586
"adbpostgres",
587+
"xugu",
585588
],
586589
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
587590
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -681,6 +684,7 @@ async def update(
681684
"dameng",
682685
"adbmysql",
683686
"adbpostgres",
687+
"xugu",
684688
]
685689
]
686690
| NotGiven = NOT_GIVEN,

src/asktable/types/datasource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class Datasource(BaseModel):
3131
"dameng",
3232
"adbmysql",
3333
"adbpostgres",
34+
"xugu",
3435
]
3536
"""数据源引擎"""
3637

src/asktable/types/datasource_create_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class DatasourceCreateParams(TypedDict, total=False):
3030
"dameng",
3131
"adbmysql",
3232
"adbpostgres",
33+
"xugu",
3334
]
3435
]
3536
"""数据源引擎"""

src/asktable/types/datasource_retrieve_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class DatasourceRetrieveResponse(BaseModel):
7676
"dameng",
7777
"adbmysql",
7878
"adbpostgres",
79+
"xugu",
7980
]
8081
"""数据源引擎"""
8182

src/asktable/types/datasource_update_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class DatasourceUpdateParams(TypedDict, total=False):
3636
"dameng",
3737
"adbmysql",
3838
"adbpostgres",
39+
"xugu",
3940
]
4041
]
4142
"""数据源引擎"""

0 commit comments

Comments
 (0)