cognite-neat 0.72.0__py3-none-any.whl → 0.72.1__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/importers/_owl2rules/_owl2rules.py +2 -1
- cognite/neat/rules/models/_rules/_types/_value.py +3 -0
- cognite/neat/rules/models/_rules/information_rules.py +1 -0
- {cognite_neat-0.72.0.dist-info → cognite_neat-0.72.1.dist-info}/METADATA +1 -1
- {cognite_neat-0.72.0.dist-info → cognite_neat-0.72.1.dist-info}/RECORD +9 -9
- {cognite_neat-0.72.0.dist-info → cognite_neat-0.72.1.dist-info}/LICENSE +0 -0
- {cognite_neat-0.72.0.dist-info → cognite_neat-0.72.1.dist-info}/WHEEL +0 -0
- {cognite_neat-0.72.0.dist-info → cognite_neat-0.72.1.dist-info}/entry_points.txt +0 -0
cognite/neat/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.72.
|
|
1
|
+
__version__ = "0.72.1"
|
|
@@ -11,7 +11,7 @@ from rdflib import DC, DCTERMS, OWL, RDF, RDFS, SKOS, Graph
|
|
|
11
11
|
from cognite.neat.rules.importers._base import BaseImporter, Rules
|
|
12
12
|
from cognite.neat.rules.issues import IssueList
|
|
13
13
|
from cognite.neat.rules.models._rules import InformationRules, RoleTypes
|
|
14
|
-
from cognite.neat.rules.models.
|
|
14
|
+
from cognite.neat.rules.models._rules._types import XSD_VALUE_TYPE_MAPPINGS
|
|
15
15
|
|
|
16
16
|
from ._owl2classes import parse_owl_classes
|
|
17
17
|
from ._owl2metadata import parse_owl_metadata
|
|
@@ -136,6 +136,7 @@ def _add_missing_value_types(components: dict) -> dict:
|
|
|
136
136
|
|
|
137
137
|
# to avoid issue of case sensitivity for xsd types
|
|
138
138
|
value_types_lower = {v.lower() for v in candidate_value_types}
|
|
139
|
+
|
|
139
140
|
xsd_types_lower = {x.lower() for x in xsd_types}
|
|
140
141
|
|
|
141
142
|
# Create a mapping from lowercase strings to original strings
|
|
@@ -90,6 +90,9 @@ _DATA_TYPES: list[dict] = [
|
|
|
90
90
|
{"name": "dateTime", "python": datetime, "GraphQL": "Timestamp", "dms": Timestamp, "SQL": "TIMESTAMP"},
|
|
91
91
|
{"name": "dateTimeStamp", "python": datetime, "GraphQL": "Timestamp", "dms": Timestamp, "SQL": "TIMESTAMP"},
|
|
92
92
|
{"name": "date", "python": date, "GraphQL": "String", "dms": Date, "SQL": "DATE"},
|
|
93
|
+
# Some RDF types which are not in XSD
|
|
94
|
+
{"name": "PlainLiteral", "python": str, "GraphQL": "String", "dms": Text, "SQL": "STRING"},
|
|
95
|
+
{"name": "Literal", "python": str, "GraphQL": "String", "dms": Text, "SQL": "STRING"},
|
|
93
96
|
# CDF specific types, not in XSD
|
|
94
97
|
{
|
|
95
98
|
"name": "timeseries",
|
|
@@ -392,6 +392,7 @@ class _InformationRulesConverter:
|
|
|
392
392
|
class_=cls_.class_,
|
|
393
393
|
view=ViewPropEntity(prefix=cls_.class_.prefix, suffix=cls_.class_.suffix, version=cls_.class_.version),
|
|
394
394
|
description=cls_.description,
|
|
395
|
+
reference=cls_.reference,
|
|
395
396
|
implements=self._get_view_implements(cls_, info_metadata),
|
|
396
397
|
)
|
|
397
398
|
for cls_ in self.information.classes
|
|
@@ -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=-bsES2AHa1TNyPmsDMRScqqA4ezbJdvAUS3UylEI4rQ,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=xnKdBE_dtq1nRvKa79YGA_wimI5UhoSRuBQz4LkLzQw,4606
|
|
@@ -144,7 +144,7 @@ cognite/neat/rules/importers/_owl2rules/__init__.py,sha256=tdGcrgtozdQyST-pTlxIa
|
|
|
144
144
|
cognite/neat/rules/importers/_owl2rules/_owl2classes.py,sha256=tCEwwJPCdFLodM0q0gXfbyEe0rZvIG4emDTcUzDYRWI,7597
|
|
145
145
|
cognite/neat/rules/importers/_owl2rules/_owl2metadata.py,sha256=kCTCAbUaUGgSwnH-jgFg01SfxD2VikyPy5L-vgxUjHA,7674
|
|
146
146
|
cognite/neat/rules/importers/_owl2rules/_owl2properties.py,sha256=KNOrOySUXM9Krg6HEPNtiThlHfSEhd0EoQBtu_lczu8,7319
|
|
147
|
-
cognite/neat/rules/importers/_owl2rules/_owl2rules.py,sha256=
|
|
147
|
+
cognite/neat/rules/importers/_owl2rules/_owl2rules.py,sha256=R8Z6f7f-MbKyr9fgKW5sStKlXxvUeOiS4lotjavIx2E,7119
|
|
148
148
|
cognite/neat/rules/importers/_spreadsheet2rules.py,sha256=GVkTtWnQkM8nXkPAOs2UpxKnsPHA6898Tb7aTgcDDPM,10573
|
|
149
149
|
cognite/neat/rules/importers/_yaml2rules.py,sha256=sIaYY3Zo--v1cXSu65n4ZPv47cS-5InvSbpkw3Ahov4,4198
|
|
150
150
|
cognite/neat/rules/issues/__init__.py,sha256=Ms6jgCxCezc5IgTOwCFtXQPtoVFfOvdcXj84_rs917I,563
|
|
@@ -161,12 +161,12 @@ cognite/neat/rules/models/_rules/__init__.py,sha256=jA4kMOAg4GJZjhCW1ovSjUCv-Top
|
|
|
161
161
|
cognite/neat/rules/models/_rules/_types/__init__.py,sha256=Px0uB5fqk-8qH-HRi0ZvgGkLhYcS5A8EJ9QDB2TFwNQ,1299
|
|
162
162
|
cognite/neat/rules/models/_rules/_types/_base.py,sha256=EsTqjXUP0zpuQ-Z_BMP-00rJBy2A2s-lJHzudIDAfqw,17145
|
|
163
163
|
cognite/neat/rules/models/_rules/_types/_field.py,sha256=dOVAU1jWCupFVnrYYwLfI-nNUC4rv4vXHMzpiObtWiw,10295
|
|
164
|
-
cognite/neat/rules/models/_rules/_types/_value.py,sha256=
|
|
164
|
+
cognite/neat/rules/models/_rules/_types/_value.py,sha256=ubyWmU6neyNxx17fqcciIjyB-CIpYNUuM97Xh2sVrYo,6308
|
|
165
165
|
cognite/neat/rules/models/_rules/base.py,sha256=9DgtdCmpz84sMFxZB_stWkalVbjA4HQKsTMpSjjOVLU,10635
|
|
166
166
|
cognite/neat/rules/models/_rules/dms_architect_rules.py,sha256=d4WKTyuSWWw6ioOYCnayTQcTWNGv-dys2LU3PBI8Fuc,49465
|
|
167
167
|
cognite/neat/rules/models/_rules/dms_schema.py,sha256=-ru40beGY2WJvf9_sd5eO2Wh8x2qLQ2UmgzExloBWac,30229
|
|
168
168
|
cognite/neat/rules/models/_rules/domain_rules.py,sha256=mOE4M6wOurmnAehxbnxvP9vIVXsFuKSiyMmD1shXKpA,2051
|
|
169
|
-
cognite/neat/rules/models/_rules/information_rules.py,sha256=
|
|
169
|
+
cognite/neat/rules/models/_rules/information_rules.py,sha256=kETaZ3HsPw0EFXIeU-YhfEZeK4FhAh5RvNQAWbrcE-E,21026
|
|
170
170
|
cognite/neat/rules/models/raw_rules.py,sha256=Y7ZVKyvLhX0s6WdwztbFiYFj4EijGEfjtBmv0ibRmmg,12368
|
|
171
171
|
cognite/neat/rules/models/rdfpath.py,sha256=kk1dqxl3n2W_vSQtpSJri2O4nCXnCDZB2lhLsLV1PN0,7344
|
|
172
172
|
cognite/neat/rules/models/rules.py,sha256=ECKrQEtoiQqtR8W-rKMAWmODpHeHhI8Qzf3TwCa3dy8,51063
|
|
@@ -227,8 +227,8 @@ cognite/neat/workflows/steps_registry.py,sha256=PZVoHX4d6Vmjz6XzUFnFFWMCnrVnqkUC
|
|
|
227
227
|
cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
|
|
228
228
|
cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
|
|
229
229
|
cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
|
|
230
|
-
cognite_neat-0.72.
|
|
231
|
-
cognite_neat-0.72.
|
|
232
|
-
cognite_neat-0.72.
|
|
233
|
-
cognite_neat-0.72.
|
|
234
|
-
cognite_neat-0.72.
|
|
230
|
+
cognite_neat-0.72.1.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
|
|
231
|
+
cognite_neat-0.72.1.dist-info/METADATA,sha256=Ow2IjY4oEmsDS2NTfizqbgKBUapUvhV7WDWxBwIA5Ak,9321
|
|
232
|
+
cognite_neat-0.72.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
233
|
+
cognite_neat-0.72.1.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
|
|
234
|
+
cognite_neat-0.72.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|