Skip to content

Commit 9c47f1c

Browse files
authored
Merge pull request #37 from Dataherald/release-please--branches--main--changes--next
release: 0.16.0
2 parents 63fc9e1 + c1b6a4a commit 9c47f1c

9 files changed

Lines changed: 13 additions & 23 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.15.0"
2+
".": "0.16.0"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.16.0 (2024-01-24)
4+
5+
Full Changelog: [v0.15.0...v0.16.0](https://github.com/Dataherald/dataherald-python/compare/v0.15.0...v0.16.0)
6+
7+
### Features
8+
9+
* **api:** OpenAPI spec update ([#36](https://github.com/Dataherald/dataherald-python/issues/36)) ([3cd1b52](https://github.com/Dataherald/dataherald-python/commit/3cd1b528649a9844e58e4c2344356e672c65c140))
10+
311
## 0.15.0 (2024-01-24)
412

513
Full Changelog: [v0.14.0...v0.15.0](https://github.com/Dataherald/dataherald-python/compare/v0.14.0...v0.15.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dataherald"
3-
version = "0.15.0"
3+
version = "0.16.0"
44
description = "The official Python library for the Dataherald API"
55
readme = "README.md"
66
license = "Apache-2.0"

src/dataherald/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless.
22

33
__title__ = "dataherald"
4-
__version__ = "0.15.0" # x-release-please-version
4+
__version__ = "0.16.0" # x-release-please-version

src/dataherald/resources/database_connections/database_connections.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def create(
5656
alias: str,
5757
connection_uri: str,
5858
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
59-
llm_api_key: str | NotGiven = NOT_GIVEN,
6059
metadata: object | NotGiven = NOT_GIVEN,
6160
ssh_settings: database_connection_create_params.SSHSettings | NotGiven = NOT_GIVEN,
6261
use_ssh: bool | NotGiven = NOT_GIVEN,
@@ -86,7 +85,6 @@ def create(
8685
"alias": alias,
8786
"connection_uri": connection_uri,
8887
"bigquery_credential_file_content": bigquery_credential_file_content,
89-
"llm_api_key": llm_api_key,
9088
"metadata": metadata,
9189
"ssh_settings": ssh_settings,
9290
"use_ssh": use_ssh,
@@ -139,7 +137,6 @@ def update(
139137
alias: str,
140138
connection_uri: str,
141139
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
142-
llm_api_key: str | NotGiven = NOT_GIVEN,
143140
metadata: object | NotGiven = NOT_GIVEN,
144141
ssh_settings: database_connection_update_params.SSHSettings | NotGiven = NOT_GIVEN,
145142
use_ssh: bool | NotGiven = NOT_GIVEN,
@@ -171,7 +168,6 @@ def update(
171168
"alias": alias,
172169
"connection_uri": connection_uri,
173170
"bigquery_credential_file_content": bigquery_credential_file_content,
174-
"llm_api_key": llm_api_key,
175171
"metadata": metadata,
176172
"ssh_settings": ssh_settings,
177173
"use_ssh": use_ssh,
@@ -194,7 +190,7 @@ def list(
194190
extra_body: Body | None = None,
195191
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
196192
) -> DatabaseConnectionListResponse:
197-
"""Api Get Db Connections"""
193+
"""Get Db Connections"""
198194
return self._get(
199195
"/api/database-connections",
200196
options=make_request_options(
@@ -223,7 +219,6 @@ async def create(
223219
alias: str,
224220
connection_uri: str,
225221
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
226-
llm_api_key: str | NotGiven = NOT_GIVEN,
227222
metadata: object | NotGiven = NOT_GIVEN,
228223
ssh_settings: database_connection_create_params.SSHSettings | NotGiven = NOT_GIVEN,
229224
use_ssh: bool | NotGiven = NOT_GIVEN,
@@ -253,7 +248,6 @@ async def create(
253248
"alias": alias,
254249
"connection_uri": connection_uri,
255250
"bigquery_credential_file_content": bigquery_credential_file_content,
256-
"llm_api_key": llm_api_key,
257251
"metadata": metadata,
258252
"ssh_settings": ssh_settings,
259253
"use_ssh": use_ssh,
@@ -306,7 +300,6 @@ async def update(
306300
alias: str,
307301
connection_uri: str,
308302
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
309-
llm_api_key: str | NotGiven = NOT_GIVEN,
310303
metadata: object | NotGiven = NOT_GIVEN,
311304
ssh_settings: database_connection_update_params.SSHSettings | NotGiven = NOT_GIVEN,
312305
use_ssh: bool | NotGiven = NOT_GIVEN,
@@ -338,7 +331,6 @@ async def update(
338331
"alias": alias,
339332
"connection_uri": connection_uri,
340333
"bigquery_credential_file_content": bigquery_credential_file_content,
341-
"llm_api_key": llm_api_key,
342334
"metadata": metadata,
343335
"ssh_settings": ssh_settings,
344336
"use_ssh": use_ssh,
@@ -361,7 +353,7 @@ async def list(
361353
extra_body: Body | None = None,
362354
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
363355
) -> DatabaseConnectionListResponse:
364-
"""Api Get Db Connections"""
356+
"""Get Db Connections"""
365357
return await self._get(
366358
"/api/database-connections",
367359
options=make_request_options(

src/dataherald/types/database_connection_create_params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class DatabaseConnectionCreateParams(TypedDict, total=False):
1515

1616
bigquery_credential_file_content: Union[object, str]
1717

18-
llm_api_key: str
19-
2018
metadata: object
2119

2220
ssh_settings: SSHSettings

src/dataherald/types/database_connection_update_params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class DatabaseConnectionUpdateParams(TypedDict, total=False):
1515

1616
bigquery_credential_file_content: Union[object, str]
1717

18-
llm_api_key: str
19-
2018
metadata: object
2119

2220
ssh_settings: SSHSettings

src/dataherald/types/db_connection_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class DBConnectionResponse(BaseModel):
3535

3636
created_at: Optional[datetime] = None
3737

38-
llm_api_key: Optional[str] = None
39-
4038
metadata: Optional[Metadata] = None
4139

4240
path_to_credentials_file: Optional[str] = None

tests/api_resources/test_database_connections.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def test_method_create_with_all_params(self, client: Dataherald) -> None:
3434
alias="string",
3535
connection_uri="string",
3636
bigquery_credential_file_content={},
37-
llm_api_key="string",
3837
metadata={},
3938
ssh_settings={
4039
"host": "string",
@@ -125,7 +124,6 @@ def test_method_update_with_all_params(self, client: Dataherald) -> None:
125124
alias="string",
126125
connection_uri="string",
127126
bigquery_credential_file_content={},
128-
llm_api_key="string",
129127
metadata={},
130128
ssh_settings={
131129
"host": "string",
@@ -216,7 +214,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncDataherald
216214
alias="string",
217215
connection_uri="string",
218216
bigquery_credential_file_content={},
219-
llm_api_key="string",
220217
metadata={},
221218
ssh_settings={
222219
"host": "string",
@@ -307,7 +304,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncDataherald
307304
alias="string",
308305
connection_uri="string",
309306
bigquery_credential_file_content={},
310-
llm_api_key="string",
311307
metadata={},
312308
ssh_settings={
313309
"host": "string",

0 commit comments

Comments
 (0)