industrial-model 0.1.19__py3-none-any.whl → 0.1.21__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.
- industrial_model/cognite_adapters/utils.py +4 -4
- {industrial_model-0.1.19.dist-info → industrial_model-0.1.21.dist-info}/METADATA +1 -1
- {industrial_model-0.1.19.dist-info → industrial_model-0.1.21.dist-info}/RECORD +4 -4
- {industrial_model-0.1.19.dist-info → industrial_model-0.1.21.dist-info}/WHEEL +0 -0
|
@@ -109,8 +109,8 @@ def _create_query(
|
|
|
109
109
|
final_cursors: dict[str, str | None] = {}
|
|
110
110
|
|
|
111
111
|
for cursor_key, cursor_value in leaf_cursors.items():
|
|
112
|
-
children = nodes_children
|
|
113
|
-
parent = nodes_parent
|
|
112
|
+
children = nodes_children.get(cursor_key, set())
|
|
113
|
+
parent = nodes_parent.get(cursor_key, set())
|
|
114
114
|
|
|
115
115
|
valid_keys = parent.union(children)
|
|
116
116
|
valid_keys.add(cursor_key)
|
|
@@ -145,13 +145,13 @@ def _get_leaf_cursors(
|
|
|
145
145
|
):
|
|
146
146
|
continue
|
|
147
147
|
|
|
148
|
-
children = nodes_children
|
|
148
|
+
children = nodes_children.get(cursor_key, set())
|
|
149
149
|
|
|
150
150
|
target_cursors_keys = target_cursors.keys()
|
|
151
151
|
if len(children.intersection(target_cursors_keys)) > 0:
|
|
152
152
|
continue
|
|
153
153
|
|
|
154
|
-
parent = nodes_parent
|
|
154
|
+
parent = nodes_parent.get(cursor_key, set())
|
|
155
155
|
cursor_to_remove = parent.intersection(target_cursors_keys)
|
|
156
156
|
for cursor_key_to_remove in cursor_to_remove:
|
|
157
157
|
target_cursors.pop(cursor_key_to_remove)
|
|
@@ -12,7 +12,7 @@ industrial_model/cognite_adapters/query_mapper.py,sha256=3fEcaLsGjLKIh-g1BbMcffQ
|
|
|
12
12
|
industrial_model/cognite_adapters/query_result_mapper.py,sha256=0IhW8YVQM_EBMQM_NXlzl27CuzSUWGX4g7K9VMUVgPw,9507
|
|
13
13
|
industrial_model/cognite_adapters/sort_mapper.py,sha256=RJUAYlZGXoYzK0PwX63cibRF_L-MUq9g2ZsC2EeNIF4,696
|
|
14
14
|
industrial_model/cognite_adapters/upsert_mapper.py,sha256=tWEiBJQeeNz1HDu0AoBIfCw_LL156Zg4h7ORKlZ__uw,4870
|
|
15
|
-
industrial_model/cognite_adapters/utils.py,sha256=
|
|
15
|
+
industrial_model/cognite_adapters/utils.py,sha256=I1c5DjLnxYgqw3RBPxTkPCIMeHAKZ-rRK4NplKDcesQ,4836
|
|
16
16
|
industrial_model/cognite_adapters/view_mapper.py,sha256=qvT25gwIgPdAqZf-oQEh0GylUi5KEPwjLNmIl5ISQGA,1474
|
|
17
17
|
industrial_model/engines/__init__.py,sha256=7aGHrUm2MxIq39vR8h0xu3i1zNOuT9H9U-q4lV3nErQ,102
|
|
18
18
|
industrial_model/engines/async_engine.py,sha256=AkEHiHaO0wYiU8fwEG8H9EzNTlLpn9ygRPt-p4cQl7A,1675
|
|
@@ -26,6 +26,6 @@ industrial_model/queries/models.py,sha256=iiHQ7-cfg0nukEv5PoCx9QPF-w1gVSnoNbXBOK
|
|
|
26
26
|
industrial_model/queries/params.py,sha256=ehgCoR5n6E-tkEuoymZ2lkLcSzMaBAx_HnyJ7sWpqz0,964
|
|
27
27
|
industrial_model/statements/__init__.py,sha256=15LI9POLUdh6i3Zw0Aek0fVFfcTj8P8ZEa1Cli3pgXQ,3095
|
|
28
28
|
industrial_model/statements/expressions.py,sha256=Sar1cIvy3sYi7tkWJN3ylHlZ252oN2mZJpZ1TX9jN3s,4940
|
|
29
|
-
industrial_model-0.1.
|
|
30
|
-
industrial_model-0.1.
|
|
31
|
-
industrial_model-0.1.
|
|
29
|
+
industrial_model-0.1.21.dist-info/METADATA,sha256=AtFOfMY_QrLp0ymnWPdZbMILNsSuxe-IbD-olv0nGuI,6419
|
|
30
|
+
industrial_model-0.1.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
31
|
+
industrial_model-0.1.21.dist-info/RECORD,,
|
|
File without changes
|