cognite-neat 0.76.0__py3-none-any.whl → 0.76.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.
cognite/neat/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.76.0"
1
+ __version__ = "0.76.1"
@@ -146,9 +146,9 @@ class DMSPropertyWrite:
146
146
  "View Property": self.view_property,
147
147
  "Value Type": value_type,
148
148
  "Property (linage)": self.property_ or self.view_property,
149
- "Class (linage)": ClassEntity.load(self.class_, prefix=default_space, version=default_version)
150
- if self.class_
151
- else None,
149
+ "Class (linage)": (
150
+ ClassEntity.load(self.class_, prefix=default_space, version=default_version) if self.class_ else None
151
+ ),
152
152
  "Name": self.name,
153
153
  "Description": self.description,
154
154
  "Connection": self.connection,
@@ -156,9 +156,11 @@ class DMSPropertyWrite:
156
156
  "Is List": self.is_list,
157
157
  "Default": self.default,
158
158
  "Reference": self.reference,
159
- "Container": ContainerEntity.load(self.container, space=default_space, version=default_version)
160
- if self.container
161
- else None,
159
+ "Container": (
160
+ ContainerEntity.load(self.container, space=default_space, version=default_version)
161
+ if self.container
162
+ else None
163
+ ),
162
164
  "Container Property": self.container_property,
163
165
  "Index": self.index,
164
166
  "Constraint": self.constraint,
@@ -210,18 +212,20 @@ class DMSContainerWrite:
210
212
  container = ContainerEntity.load(self.container, space=default_space)
211
213
  return {
212
214
  "Container": container,
213
- "Class (linage)": ClassEntity.load(self.class_, prefix=default_space)
214
- if self.class_
215
- else container.as_class(),
215
+ "Class (linage)": (
216
+ ClassEntity.load(self.class_, prefix=default_space) if self.class_ else container.as_class()
217
+ ),
216
218
  "Name": self.name,
217
219
  "Description": self.description,
218
220
  "Reference": self.reference,
219
- "Constraint": [
220
- ContainerEntity.load(constraint.strip(), space=default_space)
221
- for constraint in self.constraint.split(",")
222
- ]
223
- if self.constraint
224
- else None,
221
+ "Constraint": (
222
+ [
223
+ ContainerEntity.load(constraint.strip(), space=default_space)
224
+ for constraint in self.constraint.split(",")
225
+ ]
226
+ if self.constraint
227
+ else None
228
+ ),
225
229
  }
226
230
 
227
231
 
@@ -272,17 +276,21 @@ class DMSViewWrite:
272
276
  view = ViewEntity.load(self.view, space=default_space, version=default_version)
273
277
  return {
274
278
  "View": view,
275
- "Class (linage)": ClassEntity.load(self.class_, prefix=default_space, version=default_version)
276
- if self.class_
277
- else view.as_class(),
279
+ "Class (linage)": (
280
+ ClassEntity.load(self.class_, prefix=default_space, version=default_version)
281
+ if self.class_
282
+ else view.as_class()
283
+ ),
278
284
  "Name": self.name,
279
285
  "Description": self.description,
280
- "Implements": [
281
- ViewEntity.load(implement, space=default_space, version=default_version)
282
- for implement in self.implements.split(",")
283
- ]
284
- if self.implements
285
- else None,
286
+ "Implements": (
287
+ [
288
+ ViewEntity.load(implement, space=default_space, version=default_version)
289
+ for implement in self.implements.split(",")
290
+ ]
291
+ if self.implements
292
+ else None
293
+ ),
286
294
  "Reference": self.reference,
287
295
  "Filter": self.filter_,
288
296
  "In Model": self.in_model,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cognite-neat
3
- Version: 0.76.0
3
+ Version: 0.76.1
4
4
  Summary: Knowledge graph transformation
5
5
  Home-page: https://cognite-neat.readthedocs-hosted.com/
6
6
  License: Apache-2.0
@@ -1,5 +1,5 @@
1
1
  cognite/neat/__init__.py,sha256=v-rRiDOgZ3sQSMQKq0vgUQZvpeOkoHFXissAx6Ktg84,61
2
- cognite/neat/_version.py,sha256=NLzZr35l5Xo_Hp0czW1LMpxi5-_GklXVkzMFLwdFUcI,23
2
+ cognite/neat/_version.py,sha256=JYMWad1hoQA4r17GzBIhK4in6LVyBr7OqBPAmFHo8cc,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=2U5M6M252swvQPQyooA1EBzFUZNtcTmuSaywfJDgckM,4232
@@ -199,7 +199,7 @@ cognite/neat/rules/models/rdfpath.py,sha256=RoHnfWufjnDtwJh7UUzWKoJz8luvX7Gb5SDQ
199
199
  cognite/neat/rules/models/rules/__init__.py,sha256=YHzkEkDzDuPs9N69FP12SAbnOBiLOxk0m5jXH-IQgbY,522
200
200
  cognite/neat/rules/models/rules/_base.py,sha256=bFH_HSftl960ROroUMy5jjXdIir6lm3tHK2qJmc-UG8,10876
201
201
  cognite/neat/rules/models/rules/_dms_architect_rules.py,sha256=sGlV_hOyQemtUUwYC_fwtihk40PlU7WrlywdagP65fI,58546
202
- cognite/neat/rules/models/rules/_dms_rules_write.py,sha256=9Qkij4JXAw-IQ1_-21tLiYZdmk63yr-XGC7WW0D63Wc,12935
202
+ cognite/neat/rules/models/rules/_dms_rules_write.py,sha256=12fkwQY5c0Y6SGM_pU6pEAqjUO2VuB3cPOAVllwUOkQ,13135
203
203
  cognite/neat/rules/models/rules/_dms_schema.py,sha256=ySGa0Qe_puGjXg1T-Ec0Kzvobqn60D5toFuSzeLuzW0,35870
204
204
  cognite/neat/rules/models/rules/_domain_rules.py,sha256=2S74P9YPPtb6myx8wg3-el9jrEBMH9AOBg9dAfwzlh4,2934
205
205
  cognite/neat/rules/models/rules/_information_rules.py,sha256=ni2KSHHG9nBqho50Sn5C7HJRHZCPatNUSM1xQSn_0lI,22447
@@ -264,8 +264,8 @@ cognite/neat/workflows/steps_registry.py,sha256=fkTX14ZA7_gkUYfWIlx7A1XbCidvqR23
264
264
  cognite/neat/workflows/tasks.py,sha256=dqlJwKAb0jlkl7abbY8RRz3m7MT4SK8-7cntMWkOYjw,788
265
265
  cognite/neat/workflows/triggers.py,sha256=_BLNplzoz0iic367u1mhHMHiUrCwP-SLK6_CZzfODX0,7071
266
266
  cognite/neat/workflows/utils.py,sha256=gKdy3RLG7ctRhbCRwaDIWpL9Mi98zm56-d4jfHDqP1E,453
267
- cognite_neat-0.76.0.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
268
- cognite_neat-0.76.0.dist-info/METADATA,sha256=I418U2p-Fg5bfUvyA4FjtzQzst-DOX-OHwgSFQy0RNI,9316
269
- cognite_neat-0.76.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
270
- cognite_neat-0.76.0.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
271
- cognite_neat-0.76.0.dist-info/RECORD,,
267
+ cognite_neat-0.76.1.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
268
+ cognite_neat-0.76.1.dist-info/METADATA,sha256=WbYTbZfKFf2l9ASMKwMVGYW_otwMLULyqp1K0WfIqOY,9316
269
+ cognite_neat-0.76.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
270
+ cognite_neat-0.76.1.dist-info/entry_points.txt,sha256=61FPqiWb25vbqB0KI7znG8nsg_ibLHBvTjYnkPvNFso,50
271
+ cognite_neat-0.76.1.dist-info/RECORD,,