From e14c5cd1fbea464aee0e71697c0fd966da6b1a9b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 06:14:55 +0000 Subject: [PATCH 1/5] feat(api): api update (#180) --- .stats.yml | 2 +- src/asktable/resources/datasources/datasources.py | 4 ---- src/asktable/types/datasource.py | 1 - src/asktable/types/datasource_create_params.py | 1 - src/asktable/types/datasource_retrieve_response.py | 1 - src/asktable/types/datasource_update_params.py | 1 - 6 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index 92764e07..6d96be16 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 96 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-02fbb644978089e8596def9999f5729633b652fba35bf04e374dbb71e7630355.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-aa7fcadf3b0f8e8f6e31a78ff104d81fdcbc71e13345c636bee68867f135c4ab.yml diff --git a/src/asktable/resources/datasources/datasources.py b/src/asktable/resources/datasources/datasources.py index 099d2695..8ad17d77 100644 --- a/src/asktable/resources/datasources/datasources.py +++ b/src/asktable/resources/datasources/datasources.py @@ -103,7 +103,6 @@ def create( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -201,7 +200,6 @@ def update( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -571,7 +569,6 @@ async def create( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -669,7 +666,6 @@ async def update( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", diff --git a/src/asktable/types/datasource.py b/src/asktable/types/datasource.py index 678c320f..2c595976 100644 --- a/src/asktable/types/datasource.py +++ b/src/asktable/types/datasource.py @@ -22,7 +22,6 @@ class Datasource(BaseModel): "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", diff --git a/src/asktable/types/datasource_create_params.py b/src/asktable/types/datasource_create_params.py index 1079a4c5..4ca58d9e 100644 --- a/src/asktable/types/datasource_create_params.py +++ b/src/asktable/types/datasource_create_params.py @@ -21,7 +21,6 @@ class DatasourceCreateParams(TypedDict, total=False): "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", diff --git a/src/asktable/types/datasource_retrieve_response.py b/src/asktable/types/datasource_retrieve_response.py index 18301f2a..d6737e83 100644 --- a/src/asktable/types/datasource_retrieve_response.py +++ b/src/asktable/types/datasource_retrieve_response.py @@ -67,7 +67,6 @@ class DatasourceRetrieveResponse(BaseModel): "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", diff --git a/src/asktable/types/datasource_update_params.py b/src/asktable/types/datasource_update_params.py index 6f268d1d..7f8e717f 100644 --- a/src/asktable/types/datasource_update_params.py +++ b/src/asktable/types/datasource_update_params.py @@ -27,7 +27,6 @@ class DatasourceUpdateParams(TypedDict, total=False): "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", From 760fd5883deb5fcfbafce2820af31fdcbe8980a0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 07:14:49 +0000 Subject: [PATCH 2/5] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 6d96be16..8c7d2c09 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 96 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-aa7fcadf3b0f8e8f6e31a78ff104d81fdcbc71e13345c636bee68867f135c4ab.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-b56e4eca19507c7195cb5020942f5cb409c3746222dd2f8ca0c55d33b761d857.yml From b816276ca1d4dcf43fbb1755c0edd402c8a5a327 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 08:14:49 +0000 Subject: [PATCH 3/5] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 8c7d2c09..3961b8bc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 96 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-b56e4eca19507c7195cb5020942f5cb409c3746222dd2f8ca0c55d33b761d857.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-c512aad46de7b013ef1696d3b8d9d96c375c8ef962535f3578fdb9d789853ca9.yml From dde8d1f767e61d2a2ca6b57c8a1133285b62fe24 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 08:14:57 +0000 Subject: [PATCH 4/5] feat(api): api update (#182) --- .stats.yml | 2 +- src/asktable/resources/datasources/datasources.py | 8 ++++++++ src/asktable/types/datasource.py | 2 ++ src/asktable/types/datasource_create_params.py | 2 ++ src/asktable/types/datasource_retrieve_response.py | 2 ++ src/asktable/types/datasource_update_params.py | 2 ++ 6 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 3961b8bc..efe0ae1c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 96 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-c512aad46de7b013ef1696d3b8d9d96c375c8ef962535f3578fdb9d789853ca9.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-a5dd7235306810ee00a03bee4d754c8af4852a2513fa575bfa142d0287b12d35.yml diff --git a/src/asktable/resources/datasources/datasources.py b/src/asktable/resources/datasources/datasources.py index 8ad17d77..17bebdff 100644 --- a/src/asktable/resources/datasources/datasources.py +++ b/src/asktable/resources/datasources/datasources.py @@ -110,6 +110,8 @@ def create( "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ], access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN, name: Optional[str] | NotGiven = NOT_GIVEN, @@ -207,6 +209,8 @@ def update( "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] | NotGiven = NOT_GIVEN, @@ -576,6 +580,8 @@ async def create( "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ], access_config: Optional[datasource_create_params.AccessConfig] | NotGiven = NOT_GIVEN, name: Optional[str] | NotGiven = NOT_GIVEN, @@ -673,6 +679,8 @@ async def update( "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] | NotGiven = NOT_GIVEN, diff --git a/src/asktable/types/datasource.py b/src/asktable/types/datasource.py index 2c595976..1147fb85 100644 --- a/src/asktable/types/datasource.py +++ b/src/asktable/types/datasource.py @@ -29,6 +29,8 @@ class Datasource(BaseModel): "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] """数据源引擎""" diff --git a/src/asktable/types/datasource_create_params.py b/src/asktable/types/datasource_create_params.py index 4ca58d9e..61920464 100644 --- a/src/asktable/types/datasource_create_params.py +++ b/src/asktable/types/datasource_create_params.py @@ -28,6 +28,8 @@ class DatasourceCreateParams(TypedDict, total=False): "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] """数据源引擎""" diff --git a/src/asktable/types/datasource_retrieve_response.py b/src/asktable/types/datasource_retrieve_response.py index d6737e83..512130d4 100644 --- a/src/asktable/types/datasource_retrieve_response.py +++ b/src/asktable/types/datasource_retrieve_response.py @@ -74,6 +74,8 @@ class DatasourceRetrieveResponse(BaseModel): "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] """数据源引擎""" diff --git a/src/asktable/types/datasource_update_params.py b/src/asktable/types/datasource_update_params.py index 7f8e717f..fb3a53d0 100644 --- a/src/asktable/types/datasource_update_params.py +++ b/src/asktable/types/datasource_update_params.py @@ -34,6 +34,8 @@ class DatasourceUpdateParams(TypedDict, total=False): "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] """数据源引擎""" From a8ad6d6569e489acbc531a063f84f59b891ee5f7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 08:15:18 +0000 Subject: [PATCH 5/5] release: 5.2.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/asktable/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4808d97d..b29b3b64 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.1.0" + ".": "5.2.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f9637cb..ae1fd3c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 5.2.0 (2025-03-17) + +Full Changelog: [v5.1.0...v5.2.0](https://github.com/DataMini/asktable-python/compare/v5.1.0...v5.2.0) + +### Features + +* **api:** api update ([#180](https://github.com/DataMini/asktable-python/issues/180)) ([e14c5cd](https://github.com/DataMini/asktable-python/commit/e14c5cd1fbea464aee0e71697c0fd966da6b1a9b)) +* **api:** api update ([#182](https://github.com/DataMini/asktable-python/issues/182)) ([dde8d1f](https://github.com/DataMini/asktable-python/commit/dde8d1f767e61d2a2ca6b57c8a1133285b62fe24)) + ## 5.1.0 (2025-03-15) Full Changelog: [v5.0.0...v5.1.0](https://github.com/DataMini/asktable-python/compare/v5.0.0...v5.1.0) diff --git a/pyproject.toml b/pyproject.toml index f8e6e3a8..0ae2be3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "asktable" -version = "5.1.0" +version = "5.2.0" description = "The official Python library for the Asktable API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/asktable/_version.py b/src/asktable/_version.py index 798a614b..3a989bcc 100644 --- a/src/asktable/_version.py +++ b/src/asktable/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "asktable" -__version__ = "5.1.0" # x-release-please-version +__version__ = "5.2.0" # x-release-please-version