dialoghelper 0.0.8__py3-none-any.whl → 0.0.9__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.
dialoghelper/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "0.0.8"
1
+ __version__ = "0.0.9"
2
2
  from .core import *
dialoghelper/core.py CHANGED
@@ -142,8 +142,8 @@ def update_msg(
142
142
  Use `content` param to update contents. Be sure to pass a `sid` (stable id -- the pk) not a `mid`
143
143
  (which is used only for sorting, and can change).
144
144
  Only include parameters to update--missing ones will be left unchanged."""
145
- sid = msg.pop('sid', sid)
146
145
  kw = (msg or {}) | kwargs
146
+ sid = kw.pop('sid', sid)
147
147
  if not sid: raise TypeError("update_msg needs either a dict message or `sid=...`")
148
148
  kw.pop('did', None)
149
149
  run_cmd('add_msg', placement='update', sid=sid, **kw)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dialoghelper
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Helper functions for solveit dialogs
5
5
  Home-page: https://github.com/AnswerDotAI/dialoghelper
6
6
  Author: Jeremy Howard
@@ -0,0 +1,9 @@
1
+ dialoghelper/__init__.py,sha256=8v08jLbD8mgo8kbkFtp9fIlkDQsiovYgy2xWvMrgXWY,42
2
+ dialoghelper/_modidx.py,sha256=mYMJPTi5PlEZg_LHRYfaqtNWdvPb5i2MTvO5lNfpwtY,2245
3
+ dialoghelper/core.py,sha256=aCcqPiyaEzERXcxH3R40ZZ-fx_BYBCg1_i_kf3Z2KeE,8034
4
+ dialoghelper-0.0.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
+ dialoghelper-0.0.9.dist-info/METADATA,sha256=fEOFgODIDpG47_BAgNQq6QUxj5dj6P9WPZC0wyArLp8,2557
6
+ dialoghelper-0.0.9.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
7
+ dialoghelper-0.0.9.dist-info/entry_points.txt,sha256=wvDeX-XTS_XVjWiiPQe6yVfmyNwy9eCr36ewp9baFIg,46
8
+ dialoghelper-0.0.9.dist-info/top_level.txt,sha256=VXLlkgltFs_q-XB9imt2G64I_-MPm1RnxlpvUWPuLKM,13
9
+ dialoghelper-0.0.9.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- dialoghelper/__init__.py,sha256=ATYfvMK1lQVIqzx35shnut5b80wzVJZt-XY6ONbo0uQ,42
2
- dialoghelper/_modidx.py,sha256=mYMJPTi5PlEZg_LHRYfaqtNWdvPb5i2MTvO5lNfpwtY,2245
3
- dialoghelper/core.py,sha256=EeKwoLArbSFiyhDN4YAry-2w-hS_1tRhCGApG-iUqSA,8035
4
- dialoghelper-0.0.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
- dialoghelper-0.0.8.dist-info/METADATA,sha256=_0Bt5gn72kDEqmTCunHmVGdpALRRopeNvEzxJ3Aj5PM,2557
6
- dialoghelper-0.0.8.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
7
- dialoghelper-0.0.8.dist-info/entry_points.txt,sha256=wvDeX-XTS_XVjWiiPQe6yVfmyNwy9eCr36ewp9baFIg,46
8
- dialoghelper-0.0.8.dist-info/top_level.txt,sha256=VXLlkgltFs_q-XB9imt2G64I_-MPm1RnxlpvUWPuLKM,13
9
- dialoghelper-0.0.8.dist-info/RECORD,,