summaryrefslogtreecommitdiffstats
path: root/contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-08-01 00:01:09 +0300
committerrobot-piglet <[email protected]>2025-08-01 00:11:46 +0300
commit75fd1fc757cc04e434a65784ae4ba6e28350878d (patch)
treedef4a4c6e8a93c0f37b563a6bb86bc7936fc3912 /contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py
parentf5d4ccd1e8d8054636ee31f953767a529801fcbf (diff)
Intermediate changes
commit_hash:11a36b37f1d393ab351897e8a0b5bf4de5871fe0
Diffstat (limited to 'contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py')
-rw-r--r--contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py b/contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py
index 00125a0bdda..0da870bcb43 100644
--- a/contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py
+++ b/contrib/python/clickhouse-connect/clickhouse_connect/driver/context.py
@@ -16,7 +16,8 @@ class BaseQueryContext:
column_formats: Optional[Dict[str, Union[str, Dict[str, str]]]] = None,
encoding: Optional[str] = None,
use_extended_dtypes: bool = False,
- use_numpy: bool = False):
+ use_numpy: bool = False,
+ transport_settings: Optional[Dict[str, str]] = None):
self.settings = settings or {}
if query_formats is None:
self.type_formats = _empty_map
@@ -36,6 +37,7 @@ class BaseQueryContext:
for type_name, fmt in fmt.items()}
self.query_formats = query_formats or {}
self.column_formats = column_formats or {}
+ self.transport_settings = transport_settings
self.column_name = None
self.encoding = encoding
self.use_numpy = use_numpy