velocity-python 0.0.124__py3-none-any.whl → 0.0.126__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.124"
1
+ __version__ = version = "0.0.126"
2
2
 
3
3
  from . import aws
4
4
  from . import db
@@ -199,7 +199,7 @@ class Context:
199
199
  payload = [payload]
200
200
  messages = []
201
201
  if user is None:
202
- user = self.session.get("email_address") or "EnqueueTasks"
202
+ user = self.session().get("email_address") or "EnqueueTasks"
203
203
  for item in payload:
204
204
  message = {"action": action, "payload": item}
205
205
  id = str(uuid.uuid4()).split("-")[0]
@@ -83,7 +83,7 @@ class LambdaHandler(BaseHandler):
83
83
  except Exception as e:
84
84
  self.handle_error(tx, local_context, e)
85
85
 
86
- return local_context.response.render()
86
+ return local_context.response().render()
87
87
 
88
88
  def track(self, tx, data={}, user=None):
89
89
  data = data.copy()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: velocity-python
3
- Version: 0.0.124
3
+ Version: 0.0.126
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=rZ5JgP-oo4e9AZs55RpFDFFw7R2zbkqiWA_n7wGdZiE,147
1
+ velocity/__init__.py,sha256=neeUy4rGNUC51qmIOe7R1BXk6SLZ8VCwu07gb9GgrE8,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
@@ -8,9 +8,9 @@ velocity/aws/__init__.py,sha256=0nEsX68Q4I7Z7ybECJnNWsC8QhWOijn4NpaFgyzyfXA,685
8
8
  velocity/aws/amplify.py,sha256=VgSgon0XxboIozz0tKyUohgLIigelhe4W7EH8kwbnLg,15330
9
9
  velocity/aws/handlers/__init__.py,sha256=4-NKj8dBzjYEdIlNdfm_Ip5mI0oOGcpjjBcMwU42yhQ,227
10
10
  velocity/aws/handlers/base_handler.py,sha256=bapdzWss5lXesoLPsVwJo9hQMZLdz7XOubo3sK70xC8,7960
11
- velocity/aws/handlers/context.py,sha256=UGp8X7w4zUXsJ5uAteE-kTZYCclisz42nIO8mPu6Eg8,8384
11
+ velocity/aws/handlers/context.py,sha256=TXChMFo-WODNSeRA5wkYFldAT57e9Ntz6opMnS-6h48,8386
12
12
  velocity/aws/handlers/exceptions.py,sha256=i4wcB8ZSWUHglX2xnesDlWLsU9AMYU72cHCWRBDmjQ8,361
13
- velocity/aws/handlers/lambda_handler.py,sha256=4AADbhfXiBYmIPBFWnOpIKcn5wRJP99ZshjmkTkWkWc,4429
13
+ velocity/aws/handlers/lambda_handler.py,sha256=Njqu7Xap2t8Z9l89DApFnlhLSohv5oGTKHz2UMoDALA,4431
14
14
  velocity/aws/handlers/response.py,sha256=s2Kw7yv5zAir1mEmfv6yBVIvRcRQ__xyryf1SrvtiRc,9317
15
15
  velocity/aws/handlers/sqs_handler.py,sha256=azuV8DrFOh0hM13EnPzyYVBS-3fLe2fn9OPc4ho7sGc,3375
16
16
  velocity/db/__init__.py,sha256=7XRUHY2af0HL1jvL0SAMpxSe5a2Phbkm-YLJCvC1C_0,739
@@ -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.124.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
54
- velocity_python-0.0.124.dist-info/METADATA,sha256=PfUOo4ocpDsel21I8_bfvD3n5sbP3uVyQp3C9TrYuK4,34262
55
- velocity_python-0.0.124.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
- velocity_python-0.0.124.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
57
- velocity_python-0.0.124.dist-info/RECORD,,
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,,