velocity-python 0.0.75__py3-none-any.whl → 0.0.76__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.75"
1
+ __version__ = version = "0.0.76"
2
2
 
3
3
  from . import aws
4
4
  from . import db
@@ -158,10 +158,11 @@ class LambdaHandler:
158
158
  tx.table(helpers.get_tracking_table(user or self.session)).insert(data)
159
159
 
160
160
  def OnActionDefault(self, tx, context):
161
- return {"event": self.aws_event, "postdata": context.postdata()}
161
+ aws_event = to_json(self.aws_event)
162
+ context.response.set_body({"event": aws_event, "postdata": context.postdata()})
162
163
 
163
164
  def OnActionTracking(self, tx, context):
164
165
  self.track(tx, context.payload().get("data", {}))
165
166
 
166
167
  def enqueue(self, tx, action, payload={}):
167
- return enqueue(tx, action, payload, self.session["email_address"])
168
+ enqueue(tx, action, payload, self.session["email_address"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: velocity-python
3
- Version: 0.0.75
3
+ Version: 0.0.76
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,8 +1,8 @@
1
- velocity/__init__.py,sha256=uYrvMqmUAYftCBCaxolBA94cB3a19WBHAREjZceXzdM,88
1
+ velocity/__init__.py,sha256=nRYodrXIVqjxxKpKikOF4uyDFufsQ5FjspXgK_2Mzhs,88
2
2
  velocity/aws/__init__.py,sha256=GBTEr02whnCH3TG-BWCpUC3KfHY3uNxD21g0OvsVJnc,598
3
3
  velocity/aws/handlers/__init__.py,sha256=xnpFZJVlC2uoeeFW4zuPST8wA8ajaQDky5Y6iXZzi3A,172
4
4
  velocity/aws/handlers/context.py,sha256=UIjNR83y2NSIyK8HMPX8t5tpJHFNabiZvNgmmdQL3HA,1822
5
- velocity/aws/handlers/lambda_handler.py,sha256=H1S5hpdx0EYgArYa5xul3Hgp-5jGXo8O-GUvVOSfcu0,6479
5
+ velocity/aws/handlers/lambda_handler.py,sha256=_spQDQ4pc1uPOBh9exqsnwMyn-cwCrkCJq1OTBWSomc,6531
6
6
  velocity/aws/handlers/response.py,sha256=LXhtizLKnVBWjtHyE0h0bk-NYDrRpj7CHa7tRz9KkC4,9324
7
7
  velocity/aws/handlers/sqs_handler.py,sha256=YBqrEkA6EfkQUVk_kwsSI-HjFJO8-JqYco-p0UYDNXE,3368
8
8
  velocity/db/__init__.py,sha256=vrn2AFNAKaqTdnPwLFS0OcREcCtzUCOodlmH54U7ADg,200
@@ -41,8 +41,8 @@ velocity/misc/tools.py,sha256=_bGneHHA_BV-kUonzw5H3hdJ5AOJRCKfzhgpkFbGqIo,1502
41
41
  velocity/misc/conv/__init__.py,sha256=MLYF58QHjzfDSxb1rdnmLnuEQCa3gnhzzZ30CwZVvQo,40
42
42
  velocity/misc/conv/iconv.py,sha256=d4_BucW8HTIkGNurJ7GWrtuptqUf-9t79ObzjJ5N76U,10603
43
43
  velocity/misc/conv/oconv.py,sha256=h5Lo05DqOQnxoD3y6Px_MQP_V-pBbWf8Hkgkb9Xp1jk,6032
44
- velocity_python-0.0.75.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
45
- velocity_python-0.0.75.dist-info/METADATA,sha256=_JNkmrItoF6Dk7tq1rdMDx4bibLvYIwo0KTH0YWcpzE,8541
46
- velocity_python-0.0.75.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
- velocity_python-0.0.75.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
48
- velocity_python-0.0.75.dist-info/RECORD,,
44
+ velocity_python-0.0.76.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
45
+ velocity_python-0.0.76.dist-info/METADATA,sha256=gHJjXKEd4v_IcpKiUGR24zIoivJ-6kSl5HYBCCkdXUo,8541
46
+ velocity_python-0.0.76.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ velocity_python-0.0.76.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
48
+ velocity_python-0.0.76.dist-info/RECORD,,