velocity-python 0.0.23__py3-none-any.whl → 0.0.24__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.23"
1
+ __version__ = version = "0.0.24"
2
2
 
3
3
  from . import aws
4
4
  from . import db
@@ -57,9 +57,9 @@ class SqsHandler:
57
57
  postdata=postdata,
58
58
  )
59
59
  if hasattr(self, "beforeAction"):
60
- self.beforeAction(context)
60
+ self.beforeAction(local_context)
61
61
  actions = []
62
- action = postdata.get("action")
62
+ action = local_context.action()
63
63
  if action:
64
64
  actions.append(
65
65
  f"on action {action.replace('-', ' ').replace('_', ' ')}".title().replace(
@@ -72,14 +72,14 @@ class SqsHandler:
72
72
  if self.skip_action:
73
73
  return
74
74
  if hasattr(self, action):
75
- getattr(self, action)(context)
75
+ getattr(self, action)(local_context)
76
76
  break
77
77
  if hasattr(self, "afterAction"):
78
- self.afterAction(context)
78
+ self.afterAction(local_context)
79
79
  except Exception as e:
80
80
  if hasattr(self, "onError"):
81
81
  self.onError(
82
- context,
82
+ local_context,
83
83
  exc=e.__class__.__name__,
84
84
  tb=traceback.format_exc(),
85
85
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: velocity-python
3
- Version: 0.0.23
3
+ Version: 0.0.24
4
4
  Summary: A rapid application development library for interfacing with data storage
5
5
  Author-email: Paul Perez <pperez@codeclubs.org>
6
6
  Project-URL: Homepage, https://codeclubs.org/projects/velocity
@@ -1,10 +1,10 @@
1
- velocity/__init__.py,sha256=ozOS7M6_1r52iZnfKWXhm0eBP1l3s7A7tl_anZVfV0E,88
1
+ velocity/__init__.py,sha256=0KjYGexgpGZxQbpjJkDZ_NDCeG46QHSnSHRZGipSHlE,88
2
2
  velocity/aws/__init__.py,sha256=ukvGrS0R8p6HtYajexOAJ7Kn9CJNlx6yb58W7o-JrAg,620
3
3
  velocity/aws/handlers/__init__.py,sha256=xnpFZJVlC2uoeeFW4zuPST8wA8ajaQDky5Y6iXZzi3A,172
4
4
  velocity/aws/handlers/context.py,sha256=UIjNR83y2NSIyK8HMPX8t5tpJHFNabiZvNgmmdQL3HA,1822
5
5
  velocity/aws/handlers/lambda_handler.py,sha256=RfEFIIn6a2k0W25AMEOMWCqbpUkXF13kV6vXFVKz0b0,6309
6
6
  velocity/aws/handlers/response.py,sha256=PlbrTFWZ6-2s7MGqaGAYENVuL63wOC7FlW7ZogFyTKo,3869
7
- velocity/aws/handlers/sqs_handler.py,sha256=kxou0R_tAA3XOMtYc-Pcv9zYpWr5zB4iH6tPTHHwAJc,3291
7
+ velocity/aws/handlers/sqs_handler.py,sha256=d0vvWNeGLQ7TLh4_yDiaJ-gpdfxCgHDY9_n9VpzQFns,3315
8
8
  velocity/db/__init__.py,sha256=vrn2AFNAKaqTdnPwLFS0OcREcCtzUCOodlmH54U7ADg,200
9
9
  velocity/db/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  velocity/db/core/column.py,sha256=vB7dCrcIWFvRG1fgyzDQnEu7j_0KYxUuDSTCWVCYlPc,6153
@@ -33,8 +33,8 @@ velocity/misc/timer.py,sha256=wMbV-1yNXeCJo_UPi5sTSslu9hPzokLaIKgd98tyG_4,536
33
33
  velocity/misc/conv/__init__.py,sha256=-caOuiqo0mzjP30Rh-3T0bSlt4M-SzJ4SPr2COk9wmg,39
34
34
  velocity/misc/conv/iconv.py,sha256=V-PcpDXq7wCmyxZ3sXfzpmVH5Nc9OHScvMH26K7N3bI,4375
35
35
  velocity/misc/conv/oconv.py,sha256=TGC6vTcOACtwp_Gpce33ZiVmgqBYQnwBcMNQ1MP6Qdc,4121
36
- velocity_python-0.0.23.dist-info/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
37
- velocity_python-0.0.23.dist-info/METADATA,sha256=A1Pd_d5Yijxzfyy8pR6BtTUVSwQnHkHCLSVN8QhfWg8,8522
38
- velocity_python-0.0.23.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
39
- velocity_python-0.0.23.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
40
- velocity_python-0.0.23.dist-info/RECORD,,
36
+ velocity_python-0.0.24.dist-info/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
37
+ velocity_python-0.0.24.dist-info/METADATA,sha256=YRlbTDrO1DbglL1yZ4tRiBsX_W-1zVX35l_ppIsmlsw,8522
38
+ velocity_python-0.0.24.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
39
+ velocity_python-0.0.24.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
40
+ velocity_python-0.0.24.dist-info/RECORD,,