cognite-neat 1.0.11__py3-none-any.whl → 1.0.12__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.
- cognite/neat/_data_model/validation/dms/_connections.py +6 -6
- cognite/neat/_version.py +1 -1
- {cognite_neat-1.0.11.dist-info → cognite_neat-1.0.12.dist-info}/METADATA +1 -1
- {cognite_neat-1.0.11.dist-info → cognite_neat-1.0.12.dist-info}/RECORD +5 -5
- {cognite_neat-1.0.11.dist-info → cognite_neat-1.0.12.dist-info}/WHEEL +1 -1
|
@@ -622,10 +622,10 @@ class ReverseConnectionTargetMismatch(DataModelValidator):
|
|
|
622
622
|
"""
|
|
623
623
|
|
|
624
624
|
code = f"{BASE_CODE}-REVERSE-009"
|
|
625
|
-
issue_type =
|
|
625
|
+
issue_type = Recommendation
|
|
626
626
|
|
|
627
|
-
def run(self) -> list[
|
|
628
|
-
|
|
627
|
+
def run(self) -> list[Recommendation]:
|
|
628
|
+
recommendations: list[Recommendation] = []
|
|
629
629
|
|
|
630
630
|
for (target_view_ref, reverse_prop_name), (
|
|
631
631
|
source_view_ref,
|
|
@@ -656,8 +656,8 @@ class ReverseConnectionTargetMismatch(DataModelValidator):
|
|
|
656
656
|
continue # Handled by ReverseConnectionTargetAncestor
|
|
657
657
|
|
|
658
658
|
if actual_target_view != target_view_ref:
|
|
659
|
-
|
|
660
|
-
|
|
659
|
+
recommendations.append(
|
|
660
|
+
Recommendation(
|
|
661
661
|
message=(
|
|
662
662
|
f"The reverse connection '{reverse_prop_name}' in view {target_view_ref!s} "
|
|
663
663
|
f"expects its corresponding direct connection in view {source_view_ref!s} "
|
|
@@ -669,4 +669,4 @@ class ReverseConnectionTargetMismatch(DataModelValidator):
|
|
|
669
669
|
)
|
|
670
670
|
)
|
|
671
671
|
|
|
672
|
-
return
|
|
672
|
+
return recommendations
|
cognite/neat/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.12"
|
|
2
2
|
__engine__ = "^2.0.4"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cognite-neat
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.12
|
|
4
4
|
Summary: Knowledge graph transformation
|
|
5
5
|
Author: Nikola Vasiljevic, Anders Albert
|
|
6
6
|
Author-email: Nikola Vasiljevic <nikola.vasiljevic@cognite.com>, Anders Albert <anders.albert@cognite.com>
|
|
@@ -73,7 +73,7 @@ cognite/neat/_data_model/validation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
|
|
|
73
73
|
cognite/neat/_data_model/validation/dms/__init__.py,sha256=kKD18-Bg_G-w11Cs7Wv_TKV0C_q62Pm2RKLpOz27ar4,2642
|
|
74
74
|
cognite/neat/_data_model/validation/dms/_ai_readiness.py,sha256=oepbGYVE36ImYRFuhuMLXH5l5laWBC8Wy_b7dgZpAiE,15717
|
|
75
75
|
cognite/neat/_data_model/validation/dms/_base.py,sha256=6MfdpLIh9sdCSCihxxhxJQkPc2-v81SCop57SR5z_ms,786
|
|
76
|
-
cognite/neat/_data_model/validation/dms/_connections.py,sha256=
|
|
76
|
+
cognite/neat/_data_model/validation/dms/_connections.py,sha256=Dkq7dAGIHsg6RTPYui08lEtaQd5TDyJmUTYMWa4Hqns,28987
|
|
77
77
|
cognite/neat/_data_model/validation/dms/_consistency.py,sha256=IKSUoRQfQQcsymviESW9VuTFX7jsZMXfsObeZHPdov4,2435
|
|
78
78
|
cognite/neat/_data_model/validation/dms/_containers.py,sha256=RhDvi6oYTzTTIII8hTh3TMV4aBW7webxXnDNtI98kIM,8289
|
|
79
79
|
cognite/neat/_data_model/validation/dms/_limits.py,sha256=MDJ6EDvyQ__TFY7si7uygSMF9_tKfbTTpQU0YE_7jjU,13693
|
|
@@ -316,9 +316,9 @@ cognite/neat/_v0/session/_template.py,sha256=BNcvrW5y7LWzRM1XFxZkfR1Nc7e8UgjBClH
|
|
|
316
316
|
cognite/neat/_v0/session/_to.py,sha256=AnsRSDDdfFyYwSgi0Z-904X7WdLtPfLlR0x1xsu_jAo,19447
|
|
317
317
|
cognite/neat/_v0/session/_wizard.py,sha256=baPJgXAAF3d1bn4nbIzon1gWfJOeS5T43UXRDJEnD3c,1490
|
|
318
318
|
cognite/neat/_v0/session/exceptions.py,sha256=jv52D-SjxGfgqaHR8vnpzo0SOJETIuwbyffSWAxSDJw,3495
|
|
319
|
-
cognite/neat/_version.py,sha256=
|
|
319
|
+
cognite/neat/_version.py,sha256=iY52IpRBd3664uB6DRxuPClZbwNAeZfyQqslRacRXwo,45
|
|
320
320
|
cognite/neat/legacy.py,sha256=eI2ecxOV8ilGHyLZlN54ve_abtoK34oXognkFv3yvF0,219
|
|
321
321
|
cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
322
|
-
cognite_neat-1.0.
|
|
323
|
-
cognite_neat-1.0.
|
|
324
|
-
cognite_neat-1.0.
|
|
322
|
+
cognite_neat-1.0.12.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
|
|
323
|
+
cognite_neat-1.0.12.dist-info/METADATA,sha256=xPaicD051WfwL-3HzukJMVpT1obi-R30UD7-0yOC2AA,6091
|
|
324
|
+
cognite_neat-1.0.12.dist-info/RECORD,,
|