statikk 0.1.17__py3-none-any.whl → 0.1.18__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.
- statikk/engine.py +4 -1
- {statikk-0.1.17.dist-info → statikk-0.1.18.dist-info}/METADATA +1 -1
- {statikk-0.1.17.dist-info → statikk-0.1.18.dist-info}/RECORD +6 -6
- {statikk-0.1.17.dist-info → statikk-0.1.18.dist-info}/WHEEL +0 -0
- {statikk-0.1.17.dist-info → statikk-0.1.18.dist-info}/licenses/LICENSE.txt +0 -0
- {statikk-0.1.17.dist-info → statikk-0.1.18.dist-info}/top_level.txt +0 -0
statikk/engine.py
CHANGED
@@ -657,8 +657,11 @@ class Table:
|
|
657
657
|
children_by_parent_id[parent_id] = []
|
658
658
|
children_by_parent_id[parent_id].append(item)
|
659
659
|
|
660
|
-
|
660
|
+
root_items = [item for item in items if FIELD_STATIKK_PARENT_ID not in item]
|
661
|
+
if not root_items:
|
662
|
+
return None
|
661
663
|
|
664
|
+
root_item = root_items[0]
|
662
665
|
processed_root = self._process_item(root_item, items_by_id, children_by_parent_id)
|
663
666
|
return processed_root
|
664
667
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
statikk/__init__.py,sha256=pH5i4Fj1tbXLqLtTVIdoojiplZssQn0nnud8-HXodRE,577
|
2
2
|
statikk/conditions.py,sha256=63FYMR-UUaE-ZJEb_8CU721CQTwhajq39-BbokmKeMA,2166
|
3
|
-
statikk/engine.py,sha256=
|
3
|
+
statikk/engine.py,sha256=Dd0JE572K5V-a4aUu_0KPkF6xxKDIW40t8tuojwlk6w,30651
|
4
4
|
statikk/expressions.py,sha256=boAeGxZj2cDsXxoiX3IIEzfX9voSMQngi4-rE_jYeuE,12233
|
5
5
|
statikk/fields.py,sha256=uLGD3xEnz2nqQY6EwG8Dd7pnRMMVP4PU2Z2I-uGNaTA,150
|
6
6
|
statikk/models.py,sha256=muPhPOB5Lxh_kOt3LkDWksYc1tSP9sEYX2VsRFgkK9s,19708
|
7
7
|
statikk/typing.py,sha256=laOlOpWOm9_sOj4hhdZnGTUZRiq8760_B9I9B3wBhz8,750
|
8
|
-
statikk-0.1.
|
9
|
-
statikk-0.1.
|
10
|
-
statikk-0.1.
|
11
|
-
statikk-0.1.
|
12
|
-
statikk-0.1.
|
8
|
+
statikk-0.1.18.dist-info/licenses/LICENSE.txt,sha256=uSH_2Hpb2Bigy5_HhBliN2fZbBU64G3ERM5zzhKPUEE,1078
|
9
|
+
statikk-0.1.18.dist-info/METADATA,sha256=n93PRdbXRyGLkzuivDPG4avKtwR22xgE0f-jxrUb7rI,3183
|
10
|
+
statikk-0.1.18.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
11
|
+
statikk-0.1.18.dist-info/top_level.txt,sha256=etKmBbjzIlLpSefXoiOfhWGEgvqUEALaFwCjFDBD9YI,8
|
12
|
+
statikk-0.1.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|