TypeDAL 4.0.1__py3-none-any.whl → 4.0.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.

Potentially problematic release.


This version of TypeDAL might be problematic. Click here for more details.

typedal/__about__.py CHANGED
@@ -5,4 +5,4 @@ This file contains the Version info for this package.
5
5
  # SPDX-FileCopyrightText: 2023-present Robin van der Noord <robinvandernoord@gmail.com>
6
6
  #
7
7
  # SPDX-License-Identifier: MIT
8
- __version__ = "4.0.1"
8
+ __version__ = "4.0.2"
typedal/__init__.py CHANGED
@@ -7,7 +7,7 @@ from .fields import TypedField
7
7
  from .helpers import sql_expression
8
8
  from .query_builder import QueryBuilder
9
9
  from .relationships import Relationship, relationship
10
- from .rows import TypedRows, PaginatedRows
10
+ from .rows import PaginatedRows, TypedRows
11
11
  from .tables import TypedTable
12
12
 
13
13
  from . import fields # isort: skip
typedal/cli.py CHANGED
@@ -392,8 +392,7 @@ def fake_migrations(
392
392
 
393
393
  previously_migrated = (
394
394
  db(
395
- db.ewh_implemented_features.name.belongs(to_fake)
396
- & (db.ewh_implemented_features.installed == True) # noqa E712
395
+ db.ewh_implemented_features.name.belongs(to_fake) & (db.ewh_implemented_features.installed == True) # noqa E712
397
396
  )
398
397
  .select(db.ewh_implemented_features.name)
399
398
  .column("name")
typedal/query_builder.py CHANGED
@@ -894,7 +894,7 @@ class QueryBuilder(t.Generic[T_MetaInstance]):
894
894
  column=nested_col,
895
895
  relation=nested_relation,
896
896
  parent_record=instance,
897
- parent_id=parent_id,
897
+ parent_id=instance.id,
898
898
  seen_relations=seen_relations,
899
899
  db=db,
900
900
  path=path,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypeDAL
3
- Version: 4.0.1
3
+ Version: 4.0.2
4
4
  Summary: Typing support for PyDAL
5
5
  Project-URL: Documentation, https://typedal.readthedocs.io/
6
6
  Project-URL: Issues, https://github.com/trialandsuccess/TypeDAL/issues
@@ -1,7 +1,7 @@
1
- typedal/__about__.py,sha256=4vktIJ7i_x1eXEnsjA7YasUMIdlSrNKVK8B59dVSHbg,206
2
- typedal/__init__.py,sha256=EYQgxkwkBsi_TTKKj16hY7m6t6pOB8WZw0FDyHzte-g,648
1
+ typedal/__about__.py,sha256=8Xj7bOvDDecytD0wzsZEs0aEX91OwX-ELs1cLnqK7C0,206
2
+ typedal/__init__.py,sha256=F6cVdXLeEhgcHEo6f_OEYN7xGEl2mEehSp1nyBr6NRI,648
3
3
  typedal/caching.py,sha256=6QaPmqmRaUDjRUySjA1CwrA36TFZ50d5g5Rw-i7GQjg,11795
4
- typedal/cli.py,sha256=e08L8k6q1NGSzpKs7ywin0uwkK7Kz07I4REVjHdbyyE,19267
4
+ typedal/cli.py,sha256=SnWceLPDd-t90VPHAV9O3RR7JZtpVniT55TqtrRv3VM,19255
5
5
  typedal/config.py,sha256=9ZgPe5aYELMpiNwO8AFZpG2pLKcBPu_DKyWn6470PPs,11602
6
6
  typedal/constants.py,sha256=ahmryNsTBZVW0sHq8WbkZKQytWVZSIAZjZbZdod0iHY,489
7
7
  typedal/core.py,sha256=bFwCNEN36KaW99O86_uiWzLsWbZoPtw3hRwtOfwZfqk,15181
@@ -12,14 +12,14 @@ typedal/for_web2py.py,sha256=Bvgicr19KNwjp1P_t9K1EmhaM3EfowPQyomUaO-2Wmo,1925
12
12
  typedal/helpers.py,sha256=kycTMZxT-H3AzPzLo67SgUZIS4PXtwTQ7RGRepSAP1g,19916
13
13
  typedal/mixins.py,sha256=V-l9eZtyIBocSKYQ-yk3oyHVk63F5XdzQe_OGspaviY,7910
14
14
  typedal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- typedal/query_builder.py,sha256=SHfRAFTexUa3YE1oSmat3xXwkYbzRKFlvt69KaNG-TA,39287
15
+ typedal/query_builder.py,sha256=J3oWQ31wI3fBWVm3dBQFNfW_YsmEH0XVYauxM-_MW0o,39289
16
16
  typedal/relationships.py,sha256=l3iRthxkBxc4KaNhjE69UOhPq-OOEPUme1W4ofKFgM8,8897
17
17
  typedal/rows.py,sha256=xWFC-p-1AGI-uoYBoNNtaC35dDxqvBTw3DT5VH957iA,16369
18
18
  typedal/tables.py,sha256=Cc16DbQWxuVUNNnz5xZCt3h35TWJYTz1cjerQvIJj1o,36678
19
19
  typedal/types.py,sha256=_njB7W67MrMfeEWzNz-EMxm2DtE_H8rN__zrPx4Jepo,8710
20
20
  typedal/web2py_py4web_shared.py,sha256=jsDjC_K0P27od4B80q83nKJiL2KAgmzS-QpHChv0RjU,1535
21
21
  typedal/serializers/as_json.py,sha256=pdeFoQF5kouGonJC6z6JNe61XRsIMlQ94SRBJDKG_Ng,2219
22
- typedal-4.0.1.dist-info/METADATA,sha256=YCcQ_gvQhrtNjCFuxS-KR3eujkr5qrK0XEuef_WBbJQ,10517
23
- typedal-4.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
- typedal-4.0.1.dist-info/entry_points.txt,sha256=m1wqcc_10rHWPdlQ71zEkmJDADUAnZtn7Jac_6mbyUc,44
25
- typedal-4.0.1.dist-info/RECORD,,
22
+ typedal-4.0.2.dist-info/METADATA,sha256=kBH2McAVngpRcV9uzqM--vvgTDqCcja2zL5GiH1Q1Fw,10517
23
+ typedal-4.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
+ typedal-4.0.2.dist-info/entry_points.txt,sha256=m1wqcc_10rHWPdlQ71zEkmJDADUAnZtn7Jac_6mbyUc,44
25
+ typedal-4.0.2.dist-info/RECORD,,