Skip to content

Commit

Permalink
bump ingestr to v0.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
karakanb committed Feb 4, 2025
1 parent 8b4cb73 commit 8081222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ingestr/src/destinations.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,16 @@ def dlt_dest(self, uri: str, **kwargs):
raise ValueError(
"The TCP port of the ClickHouse server is required to establish a connection."
)

query_params = parse_qs(parsed_uri.query)
secure = int(query_params["secure"][0]) if "secure" in query_params else 1

http_port = (
int(query_params["http_port"][0])
if "http_port" in query_params
else 8443 if secure == 1 else 8123
else 8443
if secure == 1
else 8123
)

if secure not in (0, 1):
Expand Down
2 changes: 1 addition & 1 deletion ingestr/src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.13.2"
__version__ = "0.13.3"

0 comments on commit 8081222

Please sign in to comment.