Skip to content

Commit 583f599

Browse files
mharrisb1cpcloud
authored andcommitted
feat(clickhouse): add ability to pass arbitrary kwargs to Clickhouse do_connect
1 parent 51be9ef commit 583f599

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ibis/backends/clickhouse/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def do_connect(
4949
compression: (
5050
Literal["lz4", "lz4hc", "quicklz", "zstd"] | bool
5151
) = _default_compression,
52+
**kwargs: Any,
5253
):
5354
"""Create a ClickHouse client for use with Ibis.
5455
@@ -89,6 +90,7 @@ def do_connect(
8990
password=password,
9091
client_name=client_name,
9192
compression=compression,
93+
**kwargs,
9294
)
9395

9496
@property

0 commit comments

Comments
 (0)