Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.15.0"
".": "0.16.0"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.16.0 (2024-01-24)

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

### Features

* **api:** OpenAPI spec update ([#36](https://github.com/Dataherald/dataherald-python/issues/36)) ([3cd1b52](https://github.com/Dataherald/dataherald-python/commit/3cd1b528649a9844e58e4c2344356e672c65c140))

## 0.15.0 (2024-01-24)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/Dataherald/dataherald-python/compare/v0.14.0...v0.15.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dataherald"
version = "0.15.0"
version = "0.16.0"
description = "The official Python library for the Dataherald API"
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/dataherald/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless.

__title__ = "dataherald"
__version__ = "0.15.0" # x-release-please-version
__version__ = "0.16.0" # x-release-please-version
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def create(
alias: str,
connection_uri: str,
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
llm_api_key: str | NotGiven = NOT_GIVEN,
metadata: object | NotGiven = NOT_GIVEN,
ssh_settings: database_connection_create_params.SSHSettings | NotGiven = NOT_GIVEN,
use_ssh: bool | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -86,7 +85,6 @@ def create(
"alias": alias,
"connection_uri": connection_uri,
"bigquery_credential_file_content": bigquery_credential_file_content,
"llm_api_key": llm_api_key,
"metadata": metadata,
"ssh_settings": ssh_settings,
"use_ssh": use_ssh,
Expand Down Expand Up @@ -139,7 +137,6 @@ def update(
alias: str,
connection_uri: str,
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
llm_api_key: str | NotGiven = NOT_GIVEN,
metadata: object | NotGiven = NOT_GIVEN,
ssh_settings: database_connection_update_params.SSHSettings | NotGiven = NOT_GIVEN,
use_ssh: bool | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -171,7 +168,6 @@ def update(
"alias": alias,
"connection_uri": connection_uri,
"bigquery_credential_file_content": bigquery_credential_file_content,
"llm_api_key": llm_api_key,
"metadata": metadata,
"ssh_settings": ssh_settings,
"use_ssh": use_ssh,
Expand All @@ -194,7 +190,7 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> DatabaseConnectionListResponse:
"""Api Get Db Connections"""
"""Get Db Connections"""
return self._get(
"/api/database-connections",
options=make_request_options(
Expand Down Expand Up @@ -223,7 +219,6 @@ async def create(
alias: str,
connection_uri: str,
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
llm_api_key: str | NotGiven = NOT_GIVEN,
metadata: object | NotGiven = NOT_GIVEN,
ssh_settings: database_connection_create_params.SSHSettings | NotGiven = NOT_GIVEN,
use_ssh: bool | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -253,7 +248,6 @@ async def create(
"alias": alias,
"connection_uri": connection_uri,
"bigquery_credential_file_content": bigquery_credential_file_content,
"llm_api_key": llm_api_key,
"metadata": metadata,
"ssh_settings": ssh_settings,
"use_ssh": use_ssh,
Expand Down Expand Up @@ -306,7 +300,6 @@ async def update(
alias: str,
connection_uri: str,
bigquery_credential_file_content: Union[object, str] | NotGiven = NOT_GIVEN,
llm_api_key: str | NotGiven = NOT_GIVEN,
metadata: object | NotGiven = NOT_GIVEN,
ssh_settings: database_connection_update_params.SSHSettings | NotGiven = NOT_GIVEN,
use_ssh: bool | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -338,7 +331,6 @@ async def update(
"alias": alias,
"connection_uri": connection_uri,
"bigquery_credential_file_content": bigquery_credential_file_content,
"llm_api_key": llm_api_key,
"metadata": metadata,
"ssh_settings": ssh_settings,
"use_ssh": use_ssh,
Expand All @@ -361,7 +353,7 @@ async def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> DatabaseConnectionListResponse:
"""Api Get Db Connections"""
"""Get Db Connections"""
return await self._get(
"/api/database-connections",
options=make_request_options(
Expand Down
2 changes: 0 additions & 2 deletions src/dataherald/types/database_connection_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class DatabaseConnectionCreateParams(TypedDict, total=False):

bigquery_credential_file_content: Union[object, str]

llm_api_key: str

metadata: object

ssh_settings: SSHSettings
Expand Down
2 changes: 0 additions & 2 deletions src/dataherald/types/database_connection_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class DatabaseConnectionUpdateParams(TypedDict, total=False):

bigquery_credential_file_content: Union[object, str]

llm_api_key: str

metadata: object

ssh_settings: SSHSettings
Expand Down
2 changes: 0 additions & 2 deletions src/dataherald/types/db_connection_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class DBConnectionResponse(BaseModel):

created_at: Optional[datetime] = None

llm_api_key: Optional[str] = None

metadata: Optional[Metadata] = None

path_to_credentials_file: Optional[str] = None
Expand Down
4 changes: 0 additions & 4 deletions tests/api_resources/test_database_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def test_method_create_with_all_params(self, client: Dataherald) -> None:
alias="string",
connection_uri="string",
bigquery_credential_file_content={},
llm_api_key="string",
metadata={},
ssh_settings={
"host": "string",
Expand Down Expand Up @@ -125,7 +124,6 @@ def test_method_update_with_all_params(self, client: Dataherald) -> None:
alias="string",
connection_uri="string",
bigquery_credential_file_content={},
llm_api_key="string",
metadata={},
ssh_settings={
"host": "string",
Expand Down Expand Up @@ -216,7 +214,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncDataherald
alias="string",
connection_uri="string",
bigquery_credential_file_content={},
llm_api_key="string",
metadata={},
ssh_settings={
"host": "string",
Expand Down Expand Up @@ -307,7 +304,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncDataherald
alias="string",
connection_uri="string",
bigquery_credential_file_content={},
llm_api_key="string",
metadata={},
ssh_settings={
"host": "string",
Expand Down