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/.stats.yml b/.stats.yml index 92764e07..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-02fbb644978089e8596def9999f5729633b652fba35bf04e374dbb71e7630355.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-a5dd7235306810ee00a03bee4d754c8af4852a2513fa575bfa142d0287b12d35.yml 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 diff --git a/src/asktable/resources/datasources/datasources.py b/src/asktable/resources/datasources/datasources.py index 099d2695..17bebdff 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", @@ -111,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, @@ -201,7 +202,6 @@ def update( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -209,6 +209,8 @@ def update( "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] | NotGiven = NOT_GIVEN, @@ -571,7 +573,6 @@ async def create( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -579,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, @@ -669,7 +672,6 @@ async def update( "postgresql", "oceanbase", "clickhouse", - "csv", "excel", "starrocks", "hive", @@ -677,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 678c320f..1147fb85 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", @@ -30,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 1079a4c5..61920464 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", @@ -29,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 18301f2a..512130d4 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", @@ -75,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 6f268d1d..fb3a53d0 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", @@ -35,6 +34,8 @@ class DatasourceUpdateParams(TypedDict, total=False): "polardbmysql", "polardbpg", "dameng", + "adbmysql", + "adbpostgres", ] ] """数据源引擎"""