cognite-neat 0.70.1__py3-none-any.whl → 0.70.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 cognite-neat might be problematic. Click here for more details.
- cognite/neat/_version.py +1 -1
- cognite/neat/rules/exporters/_rules2dms.py +3 -2
- cognite/neat/rules/models/_rules/dms_architect_rules.py +3 -1
- {cognite_neat-0.70.1.dist-info → cognite_neat-0.70.2.dist-info}/METADATA +1 -1
- {cognite_neat-0.70.1.dist-info → cognite_neat-0.70.2.dist-info}/RECORD +8 -8
- {cognite_neat-0.70.1.dist-info → cognite_neat-0.70.2.dist-info}/LICENSE +0 -0
- {cognite_neat-0.70.1.dist-info → cognite_neat-0.70.2.dist-info}/WHEEL +0 -0
- {cognite_neat-0.70.1.dist-info → cognite_neat-0.70.2.dist-info}/entry_points.txt +0 -0
cognite/neat/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.70.
|
|
1
|
+
__version__ = "0.70.2"
|
|
@@ -175,12 +175,13 @@ class DMSExporter(CDFExporter[DMSSchema]):
|
|
|
175
175
|
# are changed. This is a workaround to force the conversion.
|
|
176
176
|
redeploy_data_model = False
|
|
177
177
|
|
|
178
|
-
for
|
|
179
|
-
all_item_ids = loader.get_ids(
|
|
178
|
+
for all_items, loader in to_export:
|
|
179
|
+
all_item_ids = loader.get_ids(all_items)
|
|
180
180
|
skipped = sum(1 for item_id in all_item_ids if item_id in schema.frozen_ids)
|
|
181
181
|
item_ids = [item_id for item_id in all_item_ids if item_id not in schema.frozen_ids]
|
|
182
182
|
cdf_items = loader.retrieve(item_ids)
|
|
183
183
|
cdf_item_by_id = {loader.get_id(item): item for item in cdf_items}
|
|
184
|
+
items = [item for item in all_items if loader.get_id(item) in item_ids]
|
|
184
185
|
to_create, to_update, unchanged, to_delete = [], [], [], []
|
|
185
186
|
is_redeploying = loader.resource_name == "data_models" and redeploy_data_model
|
|
186
187
|
for item in items:
|
|
@@ -632,7 +632,9 @@ class _DMSExporter:
|
|
|
632
632
|
if not view.in_model
|
|
633
633
|
}
|
|
634
634
|
data_model = rules.metadata.as_data_model()
|
|
635
|
-
data_model.views =
|
|
635
|
+
data_model.views = sorted(
|
|
636
|
+
[view_id for view_id in views.as_ids() if view_id not in views_not_in_model], key=lambda v: v.as_tuple() # type: ignore[union-attr]
|
|
637
|
+
)
|
|
636
638
|
|
|
637
639
|
spaces = self._create_spaces(rules.metadata, containers, views, data_model)
|
|
638
640
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
cognite/neat/__init__.py,sha256=v-rRiDOgZ3sQSMQKq0vgUQZvpeOkoHFXissAx6Ktg84,61
|
|
2
|
-
cognite/neat/_version.py,sha256=
|
|
2
|
+
cognite/neat/_version.py,sha256=t9g6KO8KmHDbgY_N1bExy8TJn4FxvASWdIMom-nZTrk,23
|
|
3
3
|
cognite/neat/app/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
cognite/neat/app/api/asgi/metrics.py,sha256=nxFy7L5cChTI0a-zkCiJ59Aq8yLuIJp5c9Dg0wRXtV0,152
|
|
5
5
|
cognite/neat/app/api/configuration.py,sha256=xnKdBE_dtq1nRvKa79YGA_wimI5UhoSRuBQz4LkLzQw,4606
|
|
@@ -113,7 +113,7 @@ cognite/neat/rules/exporter/_validation.py,sha256=CnEer181-EdnWl3yOuZJKOJ80W7H7q
|
|
|
113
113
|
cognite/neat/rules/exporters/__init__.py,sha256=Gn3CjkVKHJF9Po1ZPH4wAJ-sRW9up7b2CpXm-eReV3Q,413
|
|
114
114
|
cognite/neat/rules/exporters/_base.py,sha256=aRCzRjGDoXILkGvASev2UjVvLXrVCRTFiKgYwzJZqAo,1518
|
|
115
115
|
cognite/neat/rules/exporters/_models.py,sha256=f_RbFhoyD27z6Dsk4upYMHp7JHZRCfIvZsEzH5JSvtc,1645
|
|
116
|
-
cognite/neat/rules/exporters/_rules2dms.py,sha256=
|
|
116
|
+
cognite/neat/rules/exporters/_rules2dms.py,sha256=hvmMxwL9RCAA1b2i5RndjgWnKJv3TKkxdWFovLpJacA,12221
|
|
117
117
|
cognite/neat/rules/exporters/_rules2excel.py,sha256=uK-aS9sBwXUCFQLIO1jciBQrB4w7ySF6MafDqG23hrQ,9080
|
|
118
118
|
cognite/neat/rules/exporters/_rules2ontology.py,sha256=70T28d1tcT179kt5yOZQlLgAQ67uydz3XbhbA10IRuI,19768
|
|
119
119
|
cognite/neat/rules/exporters/_rules2yaml.py,sha256=HKgFlpgD7U2vWLQC_VdSvkDk19QgeVAd_J8wQ9ZgrN8,3038
|
|
@@ -163,7 +163,7 @@ cognite/neat/rules/models/_rules/_types/_base.py,sha256=EsTqjXUP0zpuQ-Z_BMP-00rJ
|
|
|
163
163
|
cognite/neat/rules/models/_rules/_types/_field.py,sha256=dOVAU1jWCupFVnrYYwLfI-nNUC4rv4vXHMzpiObtWiw,10295
|
|
164
164
|
cognite/neat/rules/models/_rules/_types/_value.py,sha256=I7Ke388M2NOi0U5F9kAzOjE0O4ZXbIxefupgDAjnISM,6079
|
|
165
165
|
cognite/neat/rules/models/_rules/base.py,sha256=9DgtdCmpz84sMFxZB_stWkalVbjA4HQKsTMpSjjOVLU,10635
|
|
166
|
-
cognite/neat/rules/models/_rules/dms_architect_rules.py,sha256=
|
|
166
|
+
cognite/neat/rules/models/_rules/dms_architect_rules.py,sha256=d4WKTyuSWWw6ioOYCnayTQcTWNGv-dys2LU3PBI8Fuc,49465
|
|
167
167
|
cognite/neat/rules/models/_rules/dms_schema.py,sha256=-ru40beGY2WJvf9_sd5eO2Wh8x2qLQ2UmgzExloBWac,30229
|
|
168
168
|
cognite/neat/rules/models/_rules/domain_rules.py,sha256=mOE4M6wOurmnAehxbnxvP9vIVXsFuKSiyMmD1shXKpA,2051
|
|
169
169
|
cognite/neat/rules/models/_rules/information_rules.py,sha256=e_SesgvMbzgC9WMFx0b_6qrpOIQvoQ_kXUiXrSYC9RI,20984
|
|
@@ -227,8 +227,8 @@ cognite/neat/workflows/steps_registry.py,sha256=PZVoHX4d6Vmjz6XzUFnFFWMCnrVnqkUC
|
|
|
227
227
|
cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
|
|
228
228
|
cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
|
|
229
229
|
cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
|
|
230
|
-
cognite_neat-0.70.
|
|
231
|
-
cognite_neat-0.70.
|
|
232
|
-
cognite_neat-0.70.
|
|
233
|
-
cognite_neat-0.70.
|
|
234
|
-
cognite_neat-0.70.
|
|
230
|
+
cognite_neat-0.70.2.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
231
|
+
cognite_neat-0.70.2.dist-info/METADATA,sha256=nq7qW0ud4XqiDru3zzdOu1MqdLF_Mil915D-cVfHryE,9321
|
|
232
|
+
cognite_neat-0.70.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
233
|
+
cognite_neat-0.70.2.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
|
|
234
|
+
cognite_neat-0.70.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|