cognite-neat 0.113.3__py3-none-any.whl → 0.113.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.

@@ -481,9 +481,9 @@ class RulesAnalysis:
481
481
 
482
482
  return query_configs
483
483
 
484
- def _dms_di_graph(self, format: Literal["data-model", "implements"] = "data-model") -> nx.DiGraph:
485
- """Generate a DiGraph from the DMS rules."""
486
- di_graph = nx.DiGraph()
484
+ def _dms_di_graph(self, format: Literal["data-model", "implements"] = "data-model") -> nx.MultiDiGraph:
485
+ """Generate a MultiDiGraph from the DMS rules."""
486
+ di_graph = nx.MultiDiGraph()
487
487
 
488
488
  rules = self.dms
489
489
 
@@ -515,11 +515,11 @@ class RulesAnalysis:
515
515
 
516
516
  return di_graph
517
517
 
518
- def _info_di_graph(self, format: Literal["data-model", "implements"] = "data-model") -> nx.DiGraph:
519
- """Generate DiGraph representing information data model."""
518
+ def _info_di_graph(self, format: Literal["data-model", "implements"] = "data-model") -> nx.MultiDiGraph:
519
+ """Generate MultiDiGraph representing information data model."""
520
520
 
521
521
  rules = self.information
522
- di_graph = nx.DiGraph()
522
+ di_graph = nx.MultiDiGraph()
523
523
 
524
524
  # Add nodes and edges from Views sheet
525
525
  for class_ in rules.classes:
cognite/neat/_version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "0.113.3"
1
+ __version__ = "0.113.4"
2
2
  __engine__ = "^2.0.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cognite-neat
3
- Version: 0.113.3
3
+ Version: 0.113.4
4
4
  Summary: Knowledge graph transformation
5
5
  License: Apache-2.0
6
6
  Author: Nikola Vasiljevic
@@ -76,7 +76,7 @@ cognite/neat/_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
76
76
  cognite/neat/_rules/_constants.py,sha256=XRcbXDyVlm9WkcMyJJUi8SfpLDWZTqERU7RMgZo3TSk,5922
77
77
  cognite/neat/_rules/_shared.py,sha256=XPC1NhkzYoSew0_F7JC_J6chNFLaC_rjfPpfcMcYzfc,1349
78
78
  cognite/neat/_rules/analysis/__init__.py,sha256=0Y7KiXpzrwOIU7GVlC3zlizj1TXe6sodAJzMh1rTZLE,62
79
- cognite/neat/_rules/analysis/_base.py,sha256=naqyccPPbRFQdzwpR-sNvRgbeJzzFcJdCQJ5xwmLYxU,23404
79
+ cognite/neat/_rules/analysis/_base.py,sha256=t9NBxZoM95_7UqOa9coWzsH0Kv6neKcb0dtebTV2KnI,23434
80
80
  cognite/neat/_rules/catalog/__init__.py,sha256=dwDB8b-5GKZuwVyPuiwsH0EaK2FY9-wJrkTjKoL8KE4,250
81
81
  cognite/neat/_rules/catalog/classic_model.xlsx,sha256=YkocpkKypizjsWYwOdn5yzIz_BSl8T8SQLxgm4GIjLQ,15014
82
82
  cognite/neat/_rules/catalog/hello_world_pump.xlsx,sha256=4Fv9qyv7ARHBXSIh-PiOUHcYrtgznKyR2PZCdEBlA0o,17071
@@ -176,10 +176,10 @@ cognite/neat/_utils/text.py,sha256=BFJoEOQBFgpelysL92FdF0OVRVFl0q9tRNoz-oRanNc,7
176
176
  cognite/neat/_utils/time_.py,sha256=O30LUiDH9TdOYz8_a9pFqTtJdg8vEjC3qHCk8xZblG8,345
177
177
  cognite/neat/_utils/upload.py,sha256=xWtM6mFuD2QYQHaZ7zCAuGptbEpPIxcH-raWQu93-Ug,5845
178
178
  cognite/neat/_utils/xml_.py,sha256=FQkq84u35MUsnKcL6nTMJ9ajtG9D5i1u4VBnhGqP2DQ,1710
179
- cognite/neat/_version.py,sha256=WOuD_YdIg1vhJB33VJRiME1talrsamVg33rghwUP2Q4,46
179
+ cognite/neat/_version.py,sha256=RgYJlYuZWJ4AGQ8aEyYVRuBsd3VI07oMBCTfsSdQgSU,46
180
180
  cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
- cognite_neat-0.113.3.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
182
- cognite_neat-0.113.3.dist-info/METADATA,sha256=kEl6eFOgoccnwaAoosTWscrzdbb81fWKW-szRqo88ko,5361
183
- cognite_neat-0.113.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
184
- cognite_neat-0.113.3.dist-info/entry_points.txt,sha256=SsQlnl8SNMSSjE3acBI835JYFtsIinLSbVmHmMEXv6E,51
185
- cognite_neat-0.113.3.dist-info/RECORD,,
181
+ cognite_neat-0.113.4.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
182
+ cognite_neat-0.113.4.dist-info/METADATA,sha256=s_Mm72zCib4vTlsFct0YGHieFEldwejLZYe2qx5bbKM,5361
183
+ cognite_neat-0.113.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
184
+ cognite_neat-0.113.4.dist-info/entry_points.txt,sha256=SsQlnl8SNMSSjE3acBI835JYFtsIinLSbVmHmMEXv6E,51
185
+ cognite_neat-0.113.4.dist-info/RECORD,,