scruby 2.7.2__py3-none-any.whl → 2.7.3__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.
@@ -63,6 +63,9 @@ class CryptModel(BaseModel):
63
63
 
64
64
  Returns:
65
65
  None
66
+
67
+ Raises:
68
+ ValueError: If the password already exists.
66
69
  """
67
70
  assert isinstance(password, (str, SecretStr)), "Valid type: str | SecretStr."
68
71
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scruby
3
- Version: 2.7.2
3
+ Version: 2.7.3
4
4
  Summary: Asynchronous library for building and managing a hybrid database, by scheme of key-value.
5
5
  Project-URL: Bug Tracker, https://github.com/kebasyaty/scruby/issues
6
6
  Project-URL: Changelog, https://github.com/kebasyaty/scruby/blob/v2/CHANGELOG.md
@@ -298,6 +298,7 @@ async def main() -> None:
298
298
  user_details.update_password(test_pass, new_test_pass)
299
299
 
300
300
  # Update user data in a collection
301
+ new_test_pass = "new_user_pass_123"
301
302
  await user_coll.update_doc(user_details)
302
303
 
303
304
  # Full database deletion.
@@ -17,10 +17,10 @@ scruby/mixins/find.py,sha256=YlK8L5R5qnjooDR_WDkd6ckPgE8dNTTee31S4P8-Wuo,10504
17
17
  scruby/mixins/keys.py,sha256=sd8vcM0YXouVwwgsQwtYFaV3RyAEfygpPf4a77_hN6A,11305
18
18
  scruby/mixins/update.py,sha256=TyxvxB-gNijlfzTmhwrq0ydvu0C3R-RihW5h5tJ96bM,4964
19
19
  scruby/models/__init__.py,sha256=Xqk48ZYWzmrygqoi7R9O8dJdd40ochwTg-vmCDkZUY8,418
20
- scruby/models/crypt_model.py,sha256=6ia-fZzvPh0fxDIkBXp1m3E538xtjeI0OoxaY25tnNE,4564
20
+ scruby/models/crypt_model.py,sha256=WvjUUz_JUdOSCG2PNtfAnfnb3hzuhVZ7dAClpDS1EBg,4637
21
21
  scruby/models/scruby_model.py,sha256=u9uAF1_aBvaooSeKPzQRmVYHPy4XWusLX85xfzc6oVM,608
22
- scruby-2.7.2.dist-info/METADATA,sha256=2thGMIKe3ytqOQgHERbvC5ef74T_0JDozEjpJ8QgX1I,15272
23
- scruby-2.7.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
24
- scruby-2.7.2.dist-info/licenses/GPL-3.0-LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
25
- scruby-2.7.2.dist-info/licenses/MIT-LICENSE,sha256=mS0Wz0yGNB63gEcWEnuIb_lldDYV0sjRaO-o_GL6CWE,1074
26
- scruby-2.7.2.dist-info/RECORD,,
22
+ scruby-2.7.3.dist-info/METADATA,sha256=vhBsmBnWFD9Qp8ycWVUceZxut4sL-2bZtGfXbXPzSuQ,15312
23
+ scruby-2.7.3.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
24
+ scruby-2.7.3.dist-info/licenses/GPL-3.0-LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
25
+ scruby-2.7.3.dist-info/licenses/MIT-LICENSE,sha256=mS0Wz0yGNB63gEcWEnuIb_lldDYV0sjRaO-o_GL6CWE,1074
26
+ scruby-2.7.3.dist-info/RECORD,,
File without changes