cognite-neat 0.123.31__py3-none-any.whl → 0.123.32__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/_version.py +1 -1
- cognite/neat/core/_data_model/models/entities/_single_value.py +7 -0
- {cognite_neat-0.123.31.dist-info → cognite_neat-0.123.32.dist-info}/METADATA +1 -1
- {cognite_neat-0.123.31.dist-info → cognite_neat-0.123.32.dist-info}/RECORD +6 -6
- {cognite_neat-0.123.31.dist-info → cognite_neat-0.123.32.dist-info}/WHEEL +0 -0
- {cognite_neat-0.123.31.dist-info → cognite_neat-0.123.32.dist-info}/licenses/LICENSE +0 -0
cognite/neat/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "0.123.
|
|
1
|
+
__version__ = "0.123.32"
|
|
2
2
|
__engine__ = "^2.0.4"
|
|
@@ -579,6 +579,13 @@ class EdgeEntity(PhysicalEntity[None]):
|
|
|
579
579
|
properties: ViewEntity | None = None
|
|
580
580
|
direction: Literal["outwards", "inwards"] = "outwards"
|
|
581
581
|
|
|
582
|
+
@field_validator("direction", mode="before")
|
|
583
|
+
@classmethod
|
|
584
|
+
def _normalize_direction(cls, value: Any) -> str:
|
|
585
|
+
if isinstance(value, str):
|
|
586
|
+
return value.lower()
|
|
587
|
+
return value
|
|
588
|
+
|
|
582
589
|
def dump(self, **defaults: Any) -> str:
|
|
583
590
|
# Add default direction
|
|
584
591
|
return super().dump(**defaults, direction="outwards")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cognite-neat
|
|
3
|
-
Version: 0.123.
|
|
3
|
+
Version: 0.123.32
|
|
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=
|
|
2
|
+
cognite/neat/_version.py,sha256=wbXxkqBTGoyy2ou9umcp-t8MbU5B1byIdSdz-Puemsg,47
|
|
3
3
|
cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
cognite/neat/_data_model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
cognite/neat/_data_model/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -70,7 +70,7 @@ cognite/neat/core/_data_model/models/entities/_constants.py,sha256=GXRzVfArwxF3C
|
|
|
70
70
|
cognite/neat/core/_data_model/models/entities/_loaders.py,sha256=vYRHID2SoseyJuzO4sdjjeWaRnv774SdKz9fCeuHTHU,5703
|
|
71
71
|
cognite/neat/core/_data_model/models/entities/_multi_value.py,sha256=4507L7dr_CL4vo1En6EyMiHhUDOWPTDVR1aYZns6S38,2792
|
|
72
72
|
cognite/neat/core/_data_model/models/entities/_restrictions.py,sha256=inztyR2EskFK9cYAdm39GbnjAod7Zmg0TL9NI0ZRleM,8925
|
|
73
|
-
cognite/neat/core/_data_model/models/entities/_single_value.py,sha256=
|
|
73
|
+
cognite/neat/core/_data_model/models/entities/_single_value.py,sha256=U2Fd_qB2HzD4yvSZLQsH663XMXMJRj_zv1z_w1ZTVh0,23963
|
|
74
74
|
cognite/neat/core/_data_model/models/entities/_types.py,sha256=MqrCovqI_nvpMB4UqiUk4eUlKANvr8P7wr8k3y8lXlQ,2183
|
|
75
75
|
cognite/neat/core/_data_model/models/entities/_wrapped.py,sha256=hOvdyxCNFgv1UdfaasviKnbEN4yN09Iip0ggQiaXgB4,7993
|
|
76
76
|
cognite/neat/core/_data_model/models/mapping/__init__.py,sha256=T68Hf7rhiXa7b03h4RMwarAmkGnB-Bbhc1H07b2PyC4,100
|
|
@@ -203,7 +203,7 @@ cognite/neat/session/engine/__init__.py,sha256=D3MxUorEs6-NtgoICqtZ8PISQrjrr4dvc
|
|
|
203
203
|
cognite/neat/session/engine/_import.py,sha256=1QxA2_EK613lXYAHKQbZyw2yjo5P9XuiX4Z6_6-WMNQ,169
|
|
204
204
|
cognite/neat/session/engine/_interface.py,sha256=3W-cYr493c_mW3P5O6MKN1xEQg3cA7NHR_ev3zdF9Vk,533
|
|
205
205
|
cognite/neat/session/engine/_load.py,sha256=g52uYakQM03VqHt_RDHtpHso1-mFFifH5M4T2ScuH8A,5198
|
|
206
|
-
cognite_neat-0.123.
|
|
207
|
-
cognite_neat-0.123.
|
|
208
|
-
cognite_neat-0.123.
|
|
209
|
-
cognite_neat-0.123.
|
|
206
|
+
cognite_neat-0.123.32.dist-info/METADATA,sha256=jvptAfPZXDyhTAIewwC-x61d1osUsnXRKWX6TlBbNQw,9166
|
|
207
|
+
cognite_neat-0.123.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
208
|
+
cognite_neat-0.123.32.dist-info/licenses/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
209
|
+
cognite_neat-0.123.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|