sqlspec 0.7.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
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.
Potentially problematic release.
This version of sqlspec might be problematic. Click here for more details.
- sqlspec/adapters/duckdb/config.py +2 -2
- sqlspec/extensions/litestar/plugin.py +3 -0
- sqlspec/utils/deprecation.py +1 -1
- {sqlspec-0.7.0.dist-info → sqlspec-0.7.1.dist-info}/METADATA +1 -1
- {sqlspec-0.7.0.dist-info → sqlspec-0.7.1.dist-info}/RECORD +8 -8
- {sqlspec-0.7.0.dist-info → sqlspec-0.7.1.dist-info}/WHEEL +0 -0
- {sqlspec-0.7.0.dist-info → sqlspec-0.7.1.dist-info}/licenses/LICENSE +0 -0
- {sqlspec-0.7.0.dist-info → sqlspec-0.7.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -103,8 +103,8 @@ class DuckDBConfig(NoPoolSyncConfig[DuckDBPyConnection]):
|
|
|
103
103
|
Args:
|
|
104
104
|
connection: The DuckDB connection to configure.
|
|
105
105
|
"""
|
|
106
|
-
for
|
|
107
|
-
connection.execute(
|
|
106
|
+
for key, value in cast("dict[str,Any]", self.config).items():
|
|
107
|
+
connection.execute(f"SET {key}='{value}'")
|
|
108
108
|
|
|
109
109
|
def _configure_extensions(self, connection: "DuckDBPyConnection") -> None:
|
|
110
110
|
"""Configure extensions for the connection.
|
|
@@ -35,6 +35,9 @@ class SQLSpecPlugin(InitPluginProtocol):
|
|
|
35
35
|
|
|
36
36
|
Args:
|
|
37
37
|
app_config: The :class:`AppConfig <.config.app.AppConfig>` instance.
|
|
38
|
+
|
|
39
|
+
Returns:
|
|
40
|
+
The updated :class:`AppConfig <.config.app.AppConfig>` instance.
|
|
38
41
|
"""
|
|
39
42
|
|
|
40
43
|
from sqlspec.base import ConfigManager
|
sqlspec/utils/deprecation.py
CHANGED
|
@@ -50,7 +50,7 @@ def warn_deprecation(
|
|
|
50
50
|
|
|
51
51
|
parts.extend( # pyright: ignore[reportUnknownMemberType]
|
|
52
52
|
(
|
|
53
|
-
f"Deprecated in
|
|
53
|
+
f"Deprecated in SQLSpec {version}",
|
|
54
54
|
f"This {kind} will be removed in {removal_in or 'the next major version'}",
|
|
55
55
|
),
|
|
56
56
|
)
|
|
@@ -17,7 +17,7 @@ sqlspec/adapters/asyncmy/config.py,sha256=froLNUsk8cbCaQDtm8nIAB257oMk9klTaw0V3h
|
|
|
17
17
|
sqlspec/adapters/asyncpg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
sqlspec/adapters/asyncpg/config.py,sha256=sghB1fexlIKRQ8PVnjRC4eMT6fs5cbZMgEp7OH0mkPs,6868
|
|
19
19
|
sqlspec/adapters/duckdb/__init__.py,sha256=-IC44IEsRPbz16HpQFAGkV7Bfbow8CGMruBsdMEIEf4,85
|
|
20
|
-
sqlspec/adapters/duckdb/config.py,sha256=
|
|
20
|
+
sqlspec/adapters/duckdb/config.py,sha256=r9PxxoVo3KGulsp38k9U7wGZLxtJOJurEDIT7Ok81W4,7954
|
|
21
21
|
sqlspec/adapters/oracledb/__init__.py,sha256=f7P24wnDhDoEwgO0pJbutqqN2L0WUZWqVJIAcvphb4M,300
|
|
22
22
|
sqlspec/adapters/oracledb/config/__init__.py,sha256=XoHgInT4IbXjDg5ax3ncuUoVvnYB5qQjI-Ib7gwSycU,338
|
|
23
23
|
sqlspec/adapters/oracledb/config/_asyncio.py,sha256=2-x03Y-3OLeippJrMga_JfeRIbV8L5OW-xk2GnNR0RY,4027
|
|
@@ -33,14 +33,14 @@ sqlspec/adapters/sqlite/config.py,sha256=Qxx2AvYD8WzPESGDH6NZzD7qgLIN8fvepHeXf0T
|
|
|
33
33
|
sqlspec/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
sqlspec/extensions/litestar/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
sqlspec/extensions/litestar/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
|
-
sqlspec/extensions/litestar/plugin.py,sha256=
|
|
36
|
+
sqlspec/extensions/litestar/plugin.py,sha256=wfKyufEhmO5GeOXyXcB0qNCGufUN6VBSJloaTnSn3s8,1150
|
|
37
37
|
sqlspec/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
-
sqlspec/utils/deprecation.py,sha256=
|
|
38
|
+
sqlspec/utils/deprecation.py,sha256=4pwGxoQYI3dAc3L1lh4tszZG6e2jp5m4e0ICk8SJx5M,3886
|
|
39
39
|
sqlspec/utils/fixtures.py,sha256=Tll6jBMrJeargRa0f4Ru87i_q8oObDdyYfDhEbF9-I0,2187
|
|
40
40
|
sqlspec/utils/module_loader.py,sha256=tmMy9JcTTQETcwT8Wt8adCIuqr4zinQnPbCiBJ6JTSQ,2703
|
|
41
41
|
sqlspec/utils/text.py,sha256=Ya-fWBcfkQRhguNs7MNFIYtAUiArBo62w8sRPHavMWM,1476
|
|
42
|
-
sqlspec-0.7.
|
|
43
|
-
sqlspec-0.7.
|
|
44
|
-
sqlspec-0.7.
|
|
45
|
-
sqlspec-0.7.
|
|
46
|
-
sqlspec-0.7.
|
|
42
|
+
sqlspec-0.7.1.dist-info/METADATA,sha256=kl5fSNJx57EYbuPDhvlpOmTLasayselYhVHFPqmiaSc,9402
|
|
43
|
+
sqlspec-0.7.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
44
|
+
sqlspec-0.7.1.dist-info/licenses/LICENSE,sha256=MdujfZ6l5HuLz4mElxlu049itenOR3gnhN1_Nd3nVcM,1078
|
|
45
|
+
sqlspec-0.7.1.dist-info/licenses/NOTICE,sha256=Lyir8ozXWov7CyYS4huVaOCNrtgL17P-bNV-5daLntQ,1634
|
|
46
|
+
sqlspec-0.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|