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
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