From 43dd91b8832e7e8c29ee4b9a93d1cd2144003637 Mon Sep 17 00:00:00 2001 From: Rukesh Kapuluru Date: Thu, 9 Jun 2022 15:03:47 +1000 Subject: [PATCH] fix: pass consistency to connection setup --- hip_data_tools/apache/cassandra.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hip_data_tools/apache/cassandra.py b/hip_data_tools/apache/cassandra.py index 73ac3b6..dcc0794 100644 --- a/hip_data_tools/apache/cassandra.py +++ b/hip_data_tools/apache/cassandra.py @@ -251,6 +251,7 @@ def setup_connection(self, default_keyspace) -> None: self._settings.cluster_ips, load_balancing_policy=self._settings.load_balancing_policy, auth_provider=self._auth, + consistency=self.consistency_level, port=self._settings.port, ssl_options=self._settings.ssl_options, default_keyspace=default_keyspace)