cognite-neat 0.122.2__py3-none-any.whl → 0.122.3__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 CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "0.122.2"
1
+ __version__ = "0.122.3"
2
2
  __engine__ = "^2.0.4"
@@ -68,6 +68,7 @@ from cognite.neat.core._issues import (
68
68
  catch_issues,
69
69
  )
70
70
  from cognite.neat.core._issues.errors import (
71
+ FileNotFoundNeatError,
71
72
  FileTypeUnexpectedError,
72
73
  NeatValueError,
73
74
  PropertyTypeNotSupportedError,
@@ -254,7 +255,7 @@ class DMSImporter(BaseImporter[UnverifiedPhysicalDataModel]):
254
255
  elif path.is_dir():
255
256
  return cls.from_directory(path, client)
256
257
  else:
257
- raise NeatValueError(f"Unsupported YAML format: {format}")
258
+ raise FileNotFoundNeatError(path)
258
259
 
259
260
  def to_data_model(self) -> ImportedDataModel[UnverifiedPhysicalDataModel]:
260
261
  if self.issue_list.has_errors:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite-neat
3
- Version: 0.122.2
3
+ Version: 0.122.3
4
4
  Summary: Knowledge graph transformation
5
5
  Project-URL: Documentation, https://cognite-neat.readthedocs-hosted.com/
6
6
  Project-URL: Homepage, https://cognite-neat.readthedocs-hosted.com/
@@ -1,5 +1,5 @@
1
1
  cognite/neat/__init__.py,sha256=12StS1dzH9_MElqxGvLWrNsxCJl9Hv8A2a9D0E5OD_U,193
2
- cognite/neat/_version.py,sha256=_JrRkMfRe7BY5PWfWWx60wpSBwtlRhSaJ8zbSR9WYtc,46
2
+ cognite/neat/_version.py,sha256=9fKctwX-_c2LYzEGFYewc_Bfl-r-r0K_n7MBXcEGzzg,46
3
3
  cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  cognite/neat/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  cognite/neat/core/_config.py,sha256=WT1BS8uADcFvGoUYOOfwFOVq_VBl472TisdoA3wLick,280
@@ -38,7 +38,7 @@ cognite/neat/core/_data_model/importers/__init__.py,sha256=ipImLDSse0vAHX4AWvtPI
38
38
  cognite/neat/core/_data_model/importers/_base.py,sha256=pKe2OK86Wdj6CTj5bUgjY33ejZhRfD2eJbjcCapHD58,2013
39
39
  cognite/neat/core/_data_model/importers/_base_file_reader.py,sha256=m7CwMujEybYMfHWbTQOb7wBvLl2X1TmROkPelJMSaDA,1621
40
40
  cognite/neat/core/_data_model/importers/_dict2data_model.py,sha256=-1zmo8JkxJ9qiWuC7sUH7oSlpnPPKTMxZtm4WrRPO5A,4709
41
- cognite/neat/core/_data_model/importers/_dms2data_model.py,sha256=fbPf1IA5wAZtosSYe8sd4Tnur3w41TTJz2qRbTHX-d0,28306
41
+ cognite/neat/core/_data_model/importers/_dms2data_model.py,sha256=SoyVwMX__7UIFHZbrt9aLux4dVZx6KHrhkHQLS7eIf4,28308
42
42
  cognite/neat/core/_data_model/importers/_spreadsheet2data_model.py,sha256=2QqrxQ9AI3LT9toH_gryIR52UecMsR-v44ljXedDCp4,11972
43
43
  cognite/neat/core/_data_model/importers/_dtdl2data_model/__init__.py,sha256=CNR-sUihs2mnR1bPMKs3j3L4ds3vFTsrl6YycExZTfU,68
44
44
  cognite/neat/core/_data_model/importers/_dtdl2data_model/_unit_lookup.py,sha256=wW4saKva61Q_i17guY0dc4OseJDQfqHy_QZBtm0OD6g,12134
@@ -184,7 +184,7 @@ cognite/neat/session/engine/__init__.py,sha256=D3MxUorEs6-NtgoICqtZ8PISQrjrr4dvc
184
184
  cognite/neat/session/engine/_import.py,sha256=1QxA2_EK613lXYAHKQbZyw2yjo5P9XuiX4Z6_6-WMNQ,169
185
185
  cognite/neat/session/engine/_interface.py,sha256=3W-cYr493c_mW3P5O6MKN1xEQg3cA7NHR_ev3zdF9Vk,533
186
186
  cognite/neat/session/engine/_load.py,sha256=g52uYakQM03VqHt_RDHtpHso1-mFFifH5M4T2ScuH8A,5198
187
- cognite_neat-0.122.2.dist-info/METADATA,sha256=_QX6C2C4GLJTwqISRsJcrNIFpPZbxTXi6OLbwc_hDhg,9171
188
- cognite_neat-0.122.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
189
- cognite_neat-0.122.2.dist-info/licenses/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
190
- cognite_neat-0.122.2.dist-info/RECORD,,
187
+ cognite_neat-0.122.3.dist-info/METADATA,sha256=Ne-zk3krkH-J9jOp0l4Ij84rkqkbs5Pt52EK65Jf-og,9171
188
+ cognite_neat-0.122.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
189
+ cognite_neat-0.122.3.dist-info/licenses/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
190
+ cognite_neat-0.122.3.dist-info/RECORD,,