sqla-fancy-core 1.2.0__py3-none-any.whl → 1.2.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 sqla-fancy-core might be problematic. Click here for more details.
- sqla_fancy_core/wrappers.py +12 -8
- {sqla_fancy_core-1.2.0.dist-info → sqla_fancy_core-1.2.1.dist-info}/METADATA +1 -1
- sqla_fancy_core-1.2.1.dist-info/RECORD +8 -0
- sqla_fancy_core-1.2.0.dist-info/RECORD +0 -8
- {sqla_fancy_core-1.2.0.dist-info → sqla_fancy_core-1.2.1.dist-info}/WHEEL +0 -0
- {sqla_fancy_core-1.2.0.dist-info → sqla_fancy_core-1.2.1.dist-info}/licenses/LICENSE +0 -0
sqla_fancy_core/wrappers.py
CHANGED
|
@@ -206,10 +206,12 @@ class FancyEngineWrapper:
|
|
|
206
206
|
execution_options: Optional[CoreExecuteOptionsParameter] = None,
|
|
207
207
|
) -> CursorResult[Any]:
|
|
208
208
|
"""If within an atomic context, execute the query there; else, create a new transaction."""
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
return self.tx(
|
|
210
|
+
self._ATOMIC_TX_CONN.get(),
|
|
211
|
+
statement,
|
|
212
|
+
parameters,
|
|
213
|
+
execution_options=execution_options,
|
|
214
|
+
)
|
|
213
215
|
|
|
214
216
|
|
|
215
217
|
class AsyncFancyEngineWrapper:
|
|
@@ -383,10 +385,12 @@ class AsyncFancyEngineWrapper:
|
|
|
383
385
|
execution_options: Optional[CoreExecuteOptionsParameter] = None,
|
|
384
386
|
) -> CursorResult[Any]:
|
|
385
387
|
"""If within an atomic context, execute the query there; else, create a new transaction."""
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
return await self.tx(
|
|
389
|
+
self._ATOMIC_TX_CONN.get(),
|
|
390
|
+
statement,
|
|
391
|
+
parameters,
|
|
392
|
+
execution_options=execution_options,
|
|
393
|
+
)
|
|
390
394
|
|
|
391
395
|
|
|
392
396
|
@overload
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
sqla_fancy_core/__init__.py,sha256=2Zxz2oM30Vv0_JJOMulUmts1nfag8mPyRAT7o8MW-pY,313
|
|
2
|
+
sqla_fancy_core/decorators.py,sha256=VhkYf5x6qwcQnc8QCuUzKPQxMI3tNNGM7nVSPUqMkPw,6649
|
|
3
|
+
sqla_fancy_core/factories.py,sha256=EgOhc15rCo9GyIuSNhuoB1pJ6lXx_UtRR5y9hh2lEtM,6326
|
|
4
|
+
sqla_fancy_core/wrappers.py,sha256=7ZpcVydWprIC6R78mJqvsGo9-XXZNDT34bjGPly8dAc,14636
|
|
5
|
+
sqla_fancy_core-1.2.1.dist-info/METADATA,sha256=Fxvmy5NZLQcRdjmpamrPBHth0YhM4EX3nLahhj6d7ps,17732
|
|
6
|
+
sqla_fancy_core-1.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
sqla_fancy_core-1.2.1.dist-info/licenses/LICENSE,sha256=XcYXJ0ipvwOn-nzko6p_xoCCbke8tAhmlIN04rUZDLk,1068
|
|
8
|
+
sqla_fancy_core-1.2.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
sqla_fancy_core/__init__.py,sha256=2Zxz2oM30Vv0_JJOMulUmts1nfag8mPyRAT7o8MW-pY,313
|
|
2
|
-
sqla_fancy_core/decorators.py,sha256=VhkYf5x6qwcQnc8QCuUzKPQxMI3tNNGM7nVSPUqMkPw,6649
|
|
3
|
-
sqla_fancy_core/factories.py,sha256=EgOhc15rCo9GyIuSNhuoB1pJ6lXx_UtRR5y9hh2lEtM,6326
|
|
4
|
-
sqla_fancy_core/wrappers.py,sha256=ax3ATn7BGDZLKl0z9j3jbpYA4Snwq8Ugw09QYwwG36A,14642
|
|
5
|
-
sqla_fancy_core-1.2.0.dist-info/METADATA,sha256=PTnY2miJaAwIMfxjr9qRS2q1XPLlGrE20-ho2RO89Es,17732
|
|
6
|
-
sqla_fancy_core-1.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
sqla_fancy_core-1.2.0.dist-info/licenses/LICENSE,sha256=XcYXJ0ipvwOn-nzko6p_xoCCbke8tAhmlIN04rUZDLk,1068
|
|
8
|
-
sqla_fancy_core-1.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|