velocity-python 0.4.1__py3-none-any.whl → 0.4.2__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.
velocity/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = version = "0.4.1"
1
+ __version__ = version = "0.4.2"
2
2
 
3
3
  import importlib as _importlib
4
4
 
@@ -4,7 +4,7 @@ A site adds :class:`WorkflowMixin` to its Data handler and lists the actions
4
4
  in ``client_actions`` (``client_actions = MINE | WORKFLOW_ACTIONS``)::
5
5
 
6
6
  workflow-tray {view, station?, cursor?, limit?} -> {counts, rows, cursor?, as_of}
7
- workflow-docket {docket} -> Docket
7
+ workflow-docket {docket} -> {docket: Docket}
8
8
  workflow-act {docket, action, inputs?, comment?, request_key}
9
9
  -> {ok, docket} | 4xx {ok: false, reasons}
10
10
  workflow-flag {docket, note?} | {docket, clear} -> {ok, docket}
@@ -286,7 +286,10 @@ class WorkflowMixin:
286
286
  body = self._wf_docket_body(
287
287
  tx, context, payload.get("docket"), principal, seats
288
288
  )
289
- context.response().set_body(body)
289
+ # wrapped, like workflow-act's {ok, docket}: a top-level "actions"
290
+ # array is server-driven UI to velocity-react's performApi, and the
291
+ # docket's own actions (its buttons) must never be read as that
292
+ context.response().set_body({"docket": body})
290
293
 
291
294
  # ── acting ─────────────────────────────────────────────────────────────
292
295
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: velocity-python
3
- Version: 0.4.1
3
+ Version: 0.4.2
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=cKKghorIQ6KmDenkl1684EwlR7g6o3H-aBxwT9VLk5o,362
1
+ velocity/__init__.py,sha256=40pUczc_eKk2Q4-9xULuAPwCW6m0PbSA8WxCJQL4w6g,362
2
2
  velocity/cache.py,sha256=pthvw7gDVEXRzkTcQtA5YVf4Q1IxAamWsba4UReT0RE,8933
3
3
  velocity/hooks.py,sha256=jY_qtAapNHvptmryFSD-Zc7RvLhV6e5nJEH3x2xTgCw,20575
4
4
  velocity/logging.py,sha256=MAsZap1cDSdOBNRc_9ezQxup5dHOS0ARxU9NI_-UK3E,4037
@@ -72,7 +72,7 @@ velocity/aws/handlers/mixins/row_scoped.py,sha256=f7N70RjzlHIVyjDsEI1oImCdjyFsgo
72
72
  velocity/aws/handlers/mixins/session_control.py,sha256=w2wGC_XiM-W-tL5mhZvVCt_GiQjE3Gao0Ut7tx6JdLk,12937
73
73
  velocity/aws/handlers/mixins/tiles_actions.py,sha256=n9m_PuyjPoBulqPpkSBxvMJgTdD0BXWQ3_vXf3jcUBY,28349
74
74
  velocity/aws/handlers/mixins/web_handler.py,sha256=NYYdtNbMQyVkDEJVntEzrPVx6DYQ1E_lJaz7hn1Vj04,37044
75
- velocity/aws/handlers/mixins/workflow_actions.py,sha256=1X_pzbNlk-uNht-Iu-fmkAlg_JKhJV_WbbCW0JxWUm8,20408
75
+ velocity/aws/handlers/mixins/workflow_actions.py,sha256=27X3WbFFrvFi5q7bk2KiYV9Y2YceQ5e8mcRmLGmrksY,20653
76
76
  velocity/aws/tests/__init__.py,sha256=hk-efPTkFb_py5ouA5d1OuPVQzaa5Wa01Wsc1oQ9dhY,19
77
77
  velocity/aws/tests/test_base_handler_error_response.py,sha256=CgnTMzxGkd4ArUHvsuiO_iQsiQMSlZSX_fM0YrMVRrc,2408
78
78
  velocity/aws/tests/test_deploy_least_privilege.py,sha256=ShdsbNwl2qzPaeQp2ZcMqtWRSoIB0DM0GmX0EUGJOUk,15947
@@ -248,9 +248,9 @@ velocity/workflow/notices.py,sha256=hTCVKyZn7ScJNPSgPYaa14QTRxKH5VHwAgNnV6xHW8E,
248
248
  velocity/workflow/outbox.py,sha256=R-DmdeVETYZc0u__OXxhKyeLgM1Cwq555-RqAFTW7h0,9412
249
249
  velocity/workflow/points.py,sha256=g_vQ3cdHdx_JloVCS5dVjo_jJoSolO92K5p3suDzxlE,10654
250
250
  velocity/workflow/schema.py,sha256=AY1VkRFRuddL9egJHh8-cdrh8-tDsg2MLDs0ihEKskc,20461
251
- velocity_python-0.4.1.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
252
- velocity_python-0.4.1.dist-info/METADATA,sha256=1P5cdnKxBa7go3LyXCa-_ywsXyoTOz5W1woGwpeo5Og,17820
253
- velocity_python-0.4.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
254
- velocity_python-0.4.1.dist-info/entry_points.txt,sha256=nXUKJHkOGQCSPoagdmMNd_qycrle1LVU-GhYknLGM1M,56
255
- velocity_python-0.4.1.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
256
- velocity_python-0.4.1.dist-info/RECORD,,
251
+ velocity_python-0.4.2.dist-info/licenses/LICENSE,sha256=aoN245GG8s9oRUU89KNiGTU4_4OtnNmVi4hQeChg6rM,1076
252
+ velocity_python-0.4.2.dist-info/METADATA,sha256=Zj7_H2uWGLcsFjz1y68o9kPi4BJ1AAjqTiI8HeDt4yA,17820
253
+ velocity_python-0.4.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
254
+ velocity_python-0.4.2.dist-info/entry_points.txt,sha256=nXUKJHkOGQCSPoagdmMNd_qycrle1LVU-GhYknLGM1M,56
255
+ velocity_python-0.4.2.dist-info/top_level.txt,sha256=JW2vJPmodgdgSz7H6yoZvnxF8S3fTMIv-YJWCT1sNW0,9
256
+ velocity_python-0.4.2.dist-info/RECORD,,