TypeDAL 3.8.3__py3-none-any.whl → 3.8.4__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 TypeDAL might be problematic. Click here for more details.
- typedal/__about__.py +1 -1
- typedal/core.py +3 -3
- {typedal-3.8.3.dist-info → typedal-3.8.4.dist-info}/METADATA +1 -1
- {typedal-3.8.3.dist-info → typedal-3.8.4.dist-info}/RECORD +6 -6
- {typedal-3.8.3.dist-info → typedal-3.8.4.dist-info}/WHEEL +0 -0
- {typedal-3.8.3.dist-info → typedal-3.8.4.dist-info}/entry_points.txt +0 -0
typedal/__about__.py
CHANGED
typedal/core.py
CHANGED
|
@@ -2744,11 +2744,11 @@ class QueryBuilder(typing.Generic[T_MetaInstance]):
|
|
|
2744
2744
|
limit: int,
|
|
2745
2745
|
page: int = 1,
|
|
2746
2746
|
) -> "QueryBuilder[T_MetaInstance]":
|
|
2747
|
-
_from = limit * (page - 1)
|
|
2748
|
-
_to = limit * page
|
|
2749
|
-
|
|
2750
2747
|
available = self.count()
|
|
2751
2748
|
|
|
2749
|
+
_from = limit * (page - 1)
|
|
2750
|
+
_to = (limit * page) if limit else available
|
|
2751
|
+
|
|
2752
2752
|
metadata: Metadata = {}
|
|
2753
2753
|
|
|
2754
2754
|
metadata["pagination"] = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
typedal/__about__.py,sha256=
|
|
1
|
+
typedal/__about__.py,sha256=d3u5BMAb-o3c-QyqO-Md5FwDyd5-j9Je_83Jq3CDyjY,206
|
|
2
2
|
typedal/__init__.py,sha256=QQpLiVl9w9hm2LBxey49Y_tCF_VB2bScVaS_mCjYy54,366
|
|
3
3
|
typedal/caching.py,sha256=SMcJsahLlZ79yykWCveERFx1ZJUNEKhA9SPmCTIuLp8,11798
|
|
4
4
|
typedal/cli.py,sha256=wzyId6YwRyqfuJ2byxvl6YecDNaKpkLmo-R5HvRuTok,19265
|
|
5
5
|
typedal/config.py,sha256=0qy1zrTUdtmXPM9jHzFnSR1DJsqGJqcdG6pvhzKQHe0,11625
|
|
6
|
-
typedal/core.py,sha256=
|
|
6
|
+
typedal/core.py,sha256=hjUrpHGcw2MnUG0Rx9QE6L9TOXwxn5fArUtP3jNloUw,100475
|
|
7
7
|
typedal/fields.py,sha256=A4qt0aK4F_-UeOY-xJ0ObVY-tFEoLFy7TYRMHnp4g6o,6516
|
|
8
8
|
typedal/for_py4web.py,sha256=d07b8hL_PvNDUS26Z5fDH2OxWb-IETBuAFPSzrRwm04,1285
|
|
9
9
|
typedal/for_web2py.py,sha256=xn7zo6ImsmTkH6LacbjLQl2oqyBvP0zLqRxEJvMQk1w,1929
|
|
@@ -13,7 +13,7 @@ typedal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
13
13
|
typedal/types.py,sha256=1FIgv1s0be0E8r5Wd9E1nvDvK4ETV8u2NlfI7_P6UUY,6752
|
|
14
14
|
typedal/web2py_py4web_shared.py,sha256=VK9T8P5UwVLvfNBsY4q79ANcABv-jX76YKADt1Zz_co,1539
|
|
15
15
|
typedal/serializers/as_json.py,sha256=ffo152W-sARYXym4BzwX709rrO2-QwKk2KunWY8RNl4,2229
|
|
16
|
-
typedal-3.8.
|
|
17
|
-
typedal-3.8.
|
|
18
|
-
typedal-3.8.
|
|
19
|
-
typedal-3.8.
|
|
16
|
+
typedal-3.8.4.dist-info/METADATA,sha256=VgJ74rpykoi4ZdHfuDbGRJhNm6RON2noWyBgEsV2dMs,10463
|
|
17
|
+
typedal-3.8.4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
18
|
+
typedal-3.8.4.dist-info/entry_points.txt,sha256=m1wqcc_10rHWPdlQ71zEkmJDADUAnZtn7Jac_6mbyUc,44
|
|
19
|
+
typedal-3.8.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|