cognite-neat 0.81.3__py3-none-any.whl → 0.81.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 cognite-neat might be problematic. Click here for more details.
- cognite/neat/_version.py +1 -1
- cognite/neat/rules/models/dms/_exporter.py +6 -0
- {cognite_neat-0.81.3.dist-info → cognite_neat-0.81.4.dist-info}/METADATA +1 -1
- {cognite_neat-0.81.3.dist-info → cognite_neat-0.81.4.dist-info}/RECORD +7 -7
- {cognite_neat-0.81.3.dist-info → cognite_neat-0.81.4.dist-info}/LICENSE +0 -0
- {cognite_neat-0.81.3.dist-info → cognite_neat-0.81.4.dist-info}/WHEEL +0 -0
- {cognite_neat-0.81.3.dist-info → cognite_neat-0.81.4.dist-info}/entry_points.txt +0 -0
cognite/neat/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.81.
|
|
1
|
+
__version__ = "0.81.4"
|
|
@@ -228,6 +228,11 @@ class _DMSExporter:
|
|
|
228
228
|
issues.dms.HasDataFilterOnViewWithReferencesWarning(view.as_id(), list(references)), stacklevel=2
|
|
229
229
|
)
|
|
230
230
|
|
|
231
|
+
if data_model_type == DataModelType.enterprise:
|
|
232
|
+
# Enterprise Model needs to create node types for all views,
|
|
233
|
+
# as they are expected for the solution model.
|
|
234
|
+
unique_node_types.add(dm.NodeId(space=view.space, external_id=view.external_id))
|
|
235
|
+
|
|
231
236
|
return views, NodeApplyDict(
|
|
232
237
|
[dm.NodeApply(space=node.space, external_id=node.external_id) for node in unique_node_types]
|
|
233
238
|
)
|
|
@@ -389,6 +394,7 @@ class _DMSExporter:
|
|
|
389
394
|
}
|
|
390
395
|
if dms_view and isinstance(dms_view.reference, ReferenceEntity):
|
|
391
396
|
referenced_node_ids.add(dms_view.reference.as_node_entity())
|
|
397
|
+
|
|
392
398
|
if referenced_node_ids:
|
|
393
399
|
return NodeTypeFilter(inner=list(referenced_node_ids))
|
|
394
400
|
|
|
@@ -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=cqRrmzm9IAfJ6qhJfemvII7l-WW4gXEf9hbjPRwEJBg,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=2U5M6M252swvQPQyooA1EBzFUZNtcTmuSaywfJDgckM,4232
|
|
@@ -220,7 +220,7 @@ cognite/neat/rules/models/_types/_field.py,sha256=h2RrhjxdaRbzHG5EyduyHLkCJJmQoy
|
|
|
220
220
|
cognite/neat/rules/models/data_types.py,sha256=lanwkhwG8iHKfjYfia4v2SBTJrMeXOsqaVkVEP2QMXs,6078
|
|
221
221
|
cognite/neat/rules/models/dms/__init__.py,sha256=Wzyqzz2ZIjpUbDg04CMuuIAw-f2A02DayNeqO9R-2Hw,491
|
|
222
222
|
cognite/neat/rules/models/dms/_converter.py,sha256=QaJT0z0Yo4gkG9tHPZkU8idF8PK7c-tDahbyIT-WJQU,5959
|
|
223
|
-
cognite/neat/rules/models/dms/_exporter.py,sha256=
|
|
223
|
+
cognite/neat/rules/models/dms/_exporter.py,sha256=DRL5ahcBEdBltHLA2rzLyUfqG5SZkqINkqmYGDkQVg0,24785
|
|
224
224
|
cognite/neat/rules/models/dms/_rules.py,sha256=XTIEWG49VjNs_bICGlgMd6uk4hseY1H6UVe2KMfHAWQ,16152
|
|
225
225
|
cognite/neat/rules/models/dms/_rules_input.py,sha256=apDDTQll9UAyYL5gS2vDxHsujWrGBilTp7lK2kzJWO8,13467
|
|
226
226
|
cognite/neat/rules/models/dms/_schema.py,sha256=byMG67i80a4sSQS_0k8YGrDvh7whio4iLbmPEIy_P44,49514
|
|
@@ -294,8 +294,8 @@ cognite/neat/workflows/steps_registry.py,sha256=fkTX14ZA7_gkUYfWIlx7A1XbCidvqR23
|
|
|
294
294
|
cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
|
|
295
295
|
cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
|
|
296
296
|
cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
|
|
297
|
-
cognite_neat-0.81.
|
|
298
|
-
cognite_neat-0.81.
|
|
299
|
-
cognite_neat-0.81.
|
|
300
|
-
cognite_neat-0.81.
|
|
301
|
-
cognite_neat-0.81.
|
|
297
|
+
cognite_neat-0.81.4.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
298
|
+
cognite_neat-0.81.4.dist-info/METADATA,sha256=TwNNE_wMcbd50v_jgDb_5DHsMUHbtyzH0wf-2816AEg,9290
|
|
299
|
+
cognite_neat-0.81.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
300
|
+
cognite_neat-0.81.4.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
|
|
301
|
+
cognite_neat-0.81.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|