soda-sqlserver 4.16.0__tar.gz → 4.17.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/PKG-INFO +2 -2
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/pyproject.toml +2 -2
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver/common/data_sources/sqlserver_data_source_connection.py +5 -4
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/PKG-INFO +2 -2
- soda_sqlserver-4.17.1/src/soda_sqlserver.egg-info/requires.txt +2 -0
- soda_sqlserver-4.16.0/src/soda_sqlserver.egg-info/requires.txt +0 -2
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/setup.cfg +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver/common/data_sources/sqlserver_data_source.py +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver/test_helpers/sqlserver_data_source_test_helper.py +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/SOURCES.txt +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/dependency_links.txt +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/entry_points.txt +0 -0
- {soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: soda-sqlserver
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.17.1
|
|
4
4
|
Summary: Soda SQL Server V4
|
|
5
5
|
Author-email: "Soda Data N.V." <info@soda.io>
|
|
6
6
|
License: Proprietary
|
|
7
7
|
Requires-Python: >=3.10
|
|
8
|
-
Requires-Dist: soda-core==4.
|
|
8
|
+
Requires-Dist: soda-core==4.17.1
|
|
9
9
|
Requires-Dist: pyodbc
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "soda-sqlserver"
|
|
3
|
-
version = "4.
|
|
3
|
+
version = "4.17.1"
|
|
4
4
|
description = "Soda SQL Server V4"
|
|
5
5
|
requires-python = ">=3.10"
|
|
6
6
|
license = {text = "Proprietary"}
|
|
@@ -8,7 +8,7 @@ authors = [
|
|
|
8
8
|
{name = "Soda Data N.V.", email = "info@soda.io"}
|
|
9
9
|
]
|
|
10
10
|
dependencies = [
|
|
11
|
-
"soda-core==4.
|
|
11
|
+
"soda-core==4.17.1",
|
|
12
12
|
"pyodbc",
|
|
13
13
|
]
|
|
14
14
|
|
|
@@ -116,7 +116,8 @@ class SqlServerDataSourceConnection(DataSourceConnection):
|
|
|
116
116
|
def _format_row(self, row: Any) -> tuple:
|
|
117
117
|
return tuple(row)
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
@staticmethod
|
|
120
|
+
def build_connection_string(config: SqlServerConnectionProperties):
|
|
120
121
|
conn_params = []
|
|
121
122
|
|
|
122
123
|
conn_params.append(f"DRIVER={{{config.driver}}}")
|
|
@@ -138,8 +139,8 @@ class SqlServerDataSourceConnection(DataSourceConnection):
|
|
|
138
139
|
if config.encrypt:
|
|
139
140
|
conn_params.append("Encrypt=YES")
|
|
140
141
|
|
|
141
|
-
if
|
|
142
|
-
conn_params.append(f"ConnectRetryCount={
|
|
142
|
+
if config.connection_max_retries is not None:
|
|
143
|
+
conn_params.append(f"ConnectRetryCount={config.connection_max_retries}")
|
|
143
144
|
|
|
144
145
|
if config.enable_tracing:
|
|
145
146
|
conn_params.append("SQL_ATTR_TRACE=SQL_OPT_TRACE_ON")
|
|
@@ -163,7 +164,7 @@ class SqlServerDataSourceConnection(DataSourceConnection):
|
|
|
163
164
|
|
|
164
165
|
if config.connection_parameters:
|
|
165
166
|
for key, value in config.connection_parameters.items():
|
|
166
|
-
logger.info(
|
|
167
|
+
logger.info("Adding connection parameter: %s=<redacted>", key)
|
|
167
168
|
conn_params.append(f"{key}={value}")
|
|
168
169
|
|
|
169
170
|
conn_params.append(f"APP=soda-core-fabric/{SODA_CORE_VERSION}")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: soda-sqlserver
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.17.1
|
|
4
4
|
Summary: Soda SQL Server V4
|
|
5
5
|
Author-email: "Soda Data N.V." <info@soda.io>
|
|
6
6
|
License: Proprietary
|
|
7
7
|
Requires-Python: >=3.10
|
|
8
|
-
Requires-Dist: soda-core==4.
|
|
8
|
+
Requires-Dist: soda-core==4.17.1
|
|
9
9
|
Requires-Dist: pyodbc
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{soda_sqlserver-4.16.0 → soda_sqlserver-4.17.1}/src/soda_sqlserver.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|