velocity-python 0.0.126__py3-none-any.whl → 0.0.127__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 velocity-python might be problematic. Click here for more details.

velocity/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = version = "0.0.126"
1
+ __version__ = version = "0.0.127"
2
2
 
3
3
  from . import aws
4
4
  from . import db
@@ -348,10 +348,16 @@ class Engine:
348
348
  f"\n\nSQL Query:\n{self._format_sql_with_params(sql, parameters)}"
349
349
  )
350
350
 
351
+ # Format SQL for logging
352
+ formatted_sql_info = ""
353
+ if sql:
354
+ formatted_sql_info = f" sql={self._format_sql_with_params(sql, parameters)}"
355
+
351
356
  logger.warning(
352
- "Database error caught. Attempting to transform: code=%s message=%s",
357
+ "Database error caught. Attempting to transform: code=%s message=%s%s",
353
358
  error_code,
354
359
  error_message,
360
+ formatted_sql_info,
355
361
  )
356
362
 
357
363
  # Direct error code mapping
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: velocity-python
3
- Version: 0.0.126
3
+ Version: 0.0.127
4
4
  Summary: A rapid application development library for interfacing with data storage
5
5
  Author-email: Velocity Team <info@codeclubs.org>
6
6
  License-Expression: MIT
@@ -1,4 +1,4 @@
1
- velocity/__init__.py,sha256=neeUy4rGNUC51qmIOe7R1BXk6SLZ8VCwu07gb9GgrE8,147
1
+ velocity/__init__.py,sha256=M2_wXXmCNZoxCvTCjALNl0-yieZfU1gh5LzCJCTkpZA,147
2
2
  velocity/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  velocity/app/invoices.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  velocity/app/orders.py,sha256=fr1oTBjSFfyeMBUXRG06LV4jgwrlwYNL5mbEBleFwf0,6328
@@ -20,7 +20,7 @@ velocity/db/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
20
20
  velocity/db/core/column.py,sha256=tAr8tL3a2nyaYpNHhGl508FrY_pGZTzyYgjAV5CEBv4,4092
21
21
  velocity/db/core/database.py,sha256=3zNGItklu9tZCKsbx2T2vCcU1so8AL9PPL0DLjvaz6s,3554
22
22
  velocity/db/core/decorators.py,sha256=OjWnuvneObKx0RBYlC4_4QrdzwQY6lJ4H0eIMqPBl0s,4557
23
- velocity/db/core/engine.py,sha256=xDjlfDvdQ0A3Ug3w-isgnVAVkKSg0KX0iChhRyPvNJw,18463
23
+ velocity/db/core/engine.py,sha256=fx9r3YhMKqVtP4gPR9hHKULryjwomTBSPDJmZAgrpn0,18668
24
24
  velocity/db/core/result.py,sha256=b0ie3yZAOj9S57x32uFFGKZ95zhImmZ0iXl0X1qYszc,12813
25
25
  velocity/db/core/row.py,sha256=yqxm03uEDy3oSbnkCtKyiqFdSqG3zXTq2HIHYKOvPY4,7291
26
26
  velocity/db/core/sequence.py,sha256=VMBc0ZjGnOaWTwKW6xMNTdP8rZ2umQ8ml4fHTTwuGq4,3904
@@ -50,8 +50,8 @@ velocity/misc/tools.py,sha256=4TWa-ja2gMZJr1EhqTKsJNirvDclCruyRGMttPhCIGw,1487
50
50
  velocity/misc/conv/__init__.py,sha256=qhHFl_UqW5tjPm--6shO171IysWIdH3mmp3uwiQVyqY,70
51
51
  velocity/misc/conv/iconv.py,sha256=16aPWtreHCxmpl5ufku0KWWZj8PIUFI5J1dP0aXyM3o,10794
52
52
  velocity/misc/conv/oconv.py,sha256=h5Lo05DqOQnxoD3y6Px_MQP_V-pBbWf8Hkgkb9Xp1jk,6032
53
- velocity_python-0.0.126.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
54
- velocity_python-0.0.126.dist-info/METADATA,sha256=sYZoJSplNC1ScBO2TZrPOyzlrPrcxl9SOFCRrtN8r7g,34262
55
- velocity_python-0.0.126.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
- velocity_python-0.0.126.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
57
- velocity_python-0.0.126.dist-info/RECORD,,
53
+ velocity_python-0.0.127.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
54
+ velocity_python-0.0.127.dist-info/METADATA,sha256=U7BIQWjlud7XfH-qFTLS79Ic7Q6hQeOUL5-YX6Vf2J0,34262
55
+ velocity_python-0.0.127.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
+ velocity_python-0.0.127.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
57
+ velocity_python-0.0.127.dist-info/RECORD,,