Skip to content

Commit dde8d1f

Browse files
feat(api): api update (#182)
1 parent b816276 commit dde8d1f

File tree

6 files changed

+17
-1
lines changed

6 files changed

+17
-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-c512aad46de7b013ef1696d3b8d9d96c375c8ef962535f3578fdb9d789853ca9.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-a5dd7235306810ee00a03bee4d754c8af4852a2513fa575bfa142d0287b12d35.yml

src/asktable/resources/datasources/datasources.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def create(
110110
"polardbmysql",
111111
"polardbpg",
112112
"dameng",
113+
"adbmysql",
114+
"adbpostgres",
113115
],
114116
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
115117
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -207,6 +209,8 @@ def update(
207209
"polardbmysql",
208210
"polardbpg",
209211
"dameng",
212+
"adbmysql",
213+
"adbpostgres",
210214
]
211215
]
212216
| NotGiven = NOT_GIVEN,
@@ -576,6 +580,8 @@ async def create(
576580
"polardbmysql",
577581
"polardbpg",
578582
"dameng",
583+
"adbmysql",
584+
"adbpostgres",
579585
],
580586
access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN,
581587
name: Optional[str] | NotGiven = NOT_GIVEN,
@@ -673,6 +679,8 @@ async def update(
673679
"polardbmysql",
674680
"polardbpg",
675681
"dameng",
682+
"adbmysql",
683+
"adbpostgres",
676684
]
677685
]
678686
| NotGiven = NOT_GIVEN,

src/asktable/types/datasource.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class Datasource(BaseModel):
2929
"polardbmysql",
3030
"polardbpg",
3131
"dameng",
32+
"adbmysql",
33+
"adbpostgres",
3234
]
3335
"""数据源引擎"""
3436

src/asktable/types/datasource_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class DatasourceCreateParams(TypedDict, total=False):
2828
"polardbmysql",
2929
"polardbpg",
3030
"dameng",
31+
"adbmysql",
32+
"adbpostgres",
3133
]
3234
]
3335
"""数据源引擎"""

src/asktable/types/datasource_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ class DatasourceRetrieveResponse(BaseModel):
7474
"polardbmysql",
7575
"polardbpg",
7676
"dameng",
77+
"adbmysql",
78+
"adbpostgres",
7779
]
7880
"""数据源引擎"""
7981

src/asktable/types/datasource_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class DatasourceUpdateParams(TypedDict, total=False):
3434
"polardbmysql",
3535
"polardbpg",
3636
"dameng",
37+
"adbmysql",
38+
"adbpostgres",
3739
]
3840
]
3941
"""数据源引擎"""

0 commit comments

Comments
 (0)