Skip to content

Commit

Permalink
feat(FIR-36122): Support host parameter as an alias (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin authored Sep 2, 2024
1 parent 30fffb1 commit 9c7db28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Added-20240902-150119.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Added
body: Added host connection parameter alias
time: 2024-09-02T15:01:19.289961+01:00
4 changes: 4 additions & 0 deletions dbt/adapters/firebolt/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ class FireboltCredentials(Credentials):
account_name: Optional[str] = None
retries: int = 1

_ALIASES = {
'host': 'api_endpoint',
}

def __post_init__(self) -> None:
# If user and password are not provided, assume client_id and client_secret
# are provided instead
Expand Down

0 comments on commit 9c7db28

Please sign in to comment.