ramifice 0.8.40__py3-none-any.whl → 0.8.41__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.
@@ -43,7 +43,7 @@ class GeneralMixin:
43
43
  comment: Any | None = None,
44
44
  **kwargs,
45
45
  ) -> int:
46
- """Gets an estimate of the count of documents in a collection using collection metadata."""
46
+ """Get an estimate of the number of documents in this collection using collection metadata."""
47
47
  # Get collection for current model.
48
48
  collection: AsyncCollection = constants.MONGO_DATABASE[cls.META["collection_name"]]
49
49
  #
@@ -60,7 +60,7 @@ class GeneralMixin:
60
60
  comment: Any | None = None,
61
61
  **kwargs,
62
62
  ) -> int:
63
- """Gets an estimate of the count of documents in a collection using collection metadata."""
63
+ """Count the number of documents in this collection."""
64
64
  # Get collection for current model.
65
65
  collection: AsyncCollection = constants.MONGO_DATABASE[cls.META["collection_name"]]
66
66
  # Correcting filter.
ramifice/commons/many.py CHANGED
@@ -240,7 +240,7 @@ class ManyMixin:
240
240
  let: Any | None = None,
241
241
  comment: Any | None = None,
242
242
  ) -> DeleteResult:
243
- """Find documents matching with Model."""
243
+ """Find documents and delete."""
244
244
  # Raises a panic if the Model cannot be removed.
245
245
  if not cls.META["is_delete_doc"]:
246
246
  msg = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ramifice
3
- Version: 0.8.40
3
+ Version: 0.8.41
4
4
  Summary: ORM-pseudo-like API MongoDB for Python language.
5
5
  Project-URL: Homepage, https://github.com/kebasyaty/ramifice
6
6
  Project-URL: Documentation, https://kebasyaty.github.io/ramifice/
@@ -286,7 +286,7 @@ if __name__ == "__main__":
286
286
  <tr>
287
287
  <td align="left">db_query_docs_limit</td>
288
288
  <td align="left">1000</td>
289
- <td align="left">limiting query results.</td>
289
+ <td align="left">Limiting the number of request results.</td>
290
290
  </tr>
291
291
  <tr>
292
292
  <td align="left">is_create_doc</td>
@@ -1,9 +1,9 @@
1
1
  ramifice/__init__.py,sha256=Ms9drE4wSvoUyzAtAa-VRykD7ufz6L_GtHx-YQRePDI,1619
2
2
  ramifice/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  ramifice/commons/__init__.py,sha256=RR_cVDF0H8xa56q2PXGKUSmYOPF-AUNKRY9u7DHD_KU,583
4
- ramifice/commons/general.py,sha256=zaWBzSLEaUC6Jl3uXwVKlteaGmh1Y3m1TKbRQ9YpNw0,5471
4
+ ramifice/commons/general.py,sha256=J5W65pLWROrQl62odahg9pBlC5_yv4vu9FEn3_cPMVU,5438
5
5
  ramifice/commons/indexes.py,sha256=Y8v1L3_upl771pJG7mQkSJNwP6slGEakVvj2fZ4zloE,3655
6
- ramifice/commons/many.py,sha256=paHeSx1aVg08C52h6b3vb-jNXqm0_zgRqxViUvqTmVo,9416
6
+ ramifice/commons/many.py,sha256=6_3UYjWNbFsP5eaFrI7b7xe4o-iFp7V570pR_ELUaXo,9407
7
7
  ramifice/commons/one.py,sha256=hv3gj739YKF3UWtS2Q-TFqgAkZs2du0HxMuQ0LIArJc,6993
8
8
  ramifice/commons/tools.py,sha256=MCTPtOl14sIUBkp51f-nqTFVsD0iUj51G40rEFSzU20,2477
9
9
  ramifice/commons/unit_manager.py,sha256=V9i3O-Z3eZKVpMUv2a_8FV0VBeHpJZWqeLRGJmtAEsg,4983
@@ -77,7 +77,7 @@ ramifice/utils/mixins.py,sha256=5G3x8hK3igM7JBgCiCnVDdb_0K_D1gV1tw0QKpDlm-A,1161
77
77
  ramifice/utils/tools.py,sha256=WOazw24pvL96-0yNBy7YRGErN3vAQ4F6GS9TLvWFqrs,2747
78
78
  ramifice/utils/translations.py,sha256=YItvCWv-13FS2x8VYsAOH-Nx_qQOitOX7-bRGX3mc3A,4718
79
79
  ramifice/utils/unit.py,sha256=zHfvkyEU4sxHOc-QMuntEcvyfQqH75AK1zx8E25kM9Y,2535
80
- ramifice-0.8.40.dist-info/METADATA,sha256=3mxePSplwQl5PjOS9roJRj_el6VxsC7Jn8qcqjIVoZk,18883
81
- ramifice-0.8.40.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
82
- ramifice-0.8.40.dist-info/licenses/LICENSE,sha256=LrEL0aTZx90HDwFUQCJutORiDjJL9AnuVvCtspXIqt4,1095
83
- ramifice-0.8.40.dist-info/RECORD,,
80
+ ramifice-0.8.41.dist-info/METADATA,sha256=IJ24UD1ygLRIQLYC0_tTuXu4b4cBK__W27wttOYqFJY,18899
81
+ ramifice-0.8.41.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
82
+ ramifice-0.8.41.dist-info/licenses/LICENSE,sha256=LrEL0aTZx90HDwFUQCJutORiDjJL9AnuVvCtspXIqt4,1095
83
+ ramifice-0.8.41.dist-info/RECORD,,