industrial-model 0.1.18__tar.gz → 0.1.20__tar.gz
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.
- {industrial_model-0.1.18 → industrial_model-0.1.20}/PKG-INFO +17 -1
- {industrial_model-0.1.18 → industrial_model-0.1.20}/README.md +16 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/__init__.py +8 -3
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/query_result_mapper.py +1 -1
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/utils.py +1 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/engines/async_engine.py +3 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/engines/engine.py +5 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/models/schemas.py +1 -1
- {industrial_model-0.1.18 → industrial_model-0.1.20}/pyproject.toml +1 -1
- industrial_model-0.1.20/scripts/build.sh +4 -0
- industrial_model-0.1.20/scripts/publish.sh +2 -0
- industrial_model-0.1.20/tests/test_schema.py +352 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/uv.lock +1 -1
- industrial_model-0.1.18/scripts/build.sh +0 -1
- {industrial_model-0.1.18 → industrial_model-0.1.20}/.gitignore +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/.python-version +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/aggregation_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/filter_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/models.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/optimizer.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/query_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/sort_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/upsert_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/view_mapper.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/config.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/constants.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/engines/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/models/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/models/base.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/models/entities.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/py.typed +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/queries/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/queries/models.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/queries/params.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/statements/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/statements/expressions.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/utils.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/scripts/format.sh +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/scripts/lint.sh +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/__init__.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/cognite-sdk-config.yaml +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/hubs.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/models.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/tests_adapter.py +0 -0
- {industrial_model-0.1.18 → industrial_model-0.1.20}/tests/tests_aggregate.py +0 -0
- /industrial_model-0.1.18/tests/test_upsert_mapper.py → /industrial_model-0.1.20/tests/tests_upsert_mapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: industrial-model
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.20
|
|
4
4
|
Summary: Industrial Model ORM
|
|
5
5
|
Author-email: Lucas Alves <lucasrosaalves@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python
|
|
@@ -229,6 +229,22 @@ class AggregateByNamePerson(AggregatedViewInstance):
|
|
|
229
229
|
aggregate_result = engine.aggregate(aggregate(AggregateByNamePerson, "count"))
|
|
230
230
|
|
|
231
231
|
|
|
232
|
+
|
|
233
|
+
# 9. Deletion
|
|
234
|
+
|
|
235
|
+
class Entity(ViewInstance):
|
|
236
|
+
view_config = ViewInstanceConfig(
|
|
237
|
+
view_external_id="Person"
|
|
238
|
+
)
|
|
239
|
+
name: str
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
statement = select(Entity).where(Entity.external_id == "Lucas")
|
|
243
|
+
person = engine.query_all_pages(statement)[0]
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
engine.delete([person])
|
|
247
|
+
|
|
232
248
|
```
|
|
233
249
|
|
|
234
250
|
---
|
|
@@ -209,6 +209,22 @@ class AggregateByNamePerson(AggregatedViewInstance):
|
|
|
209
209
|
aggregate_result = engine.aggregate(aggregate(AggregateByNamePerson, "count"))
|
|
210
210
|
|
|
211
211
|
|
|
212
|
+
|
|
213
|
+
# 9. Deletion
|
|
214
|
+
|
|
215
|
+
class Entity(ViewInstance):
|
|
216
|
+
view_config = ViewInstanceConfig(
|
|
217
|
+
view_external_id="Person"
|
|
218
|
+
)
|
|
219
|
+
name: str
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
statement = select(Entity).where(Entity.external_id == "Lucas")
|
|
223
|
+
person = engine.query_all_pages(statement)[0]
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
engine.delete([person])
|
|
227
|
+
|
|
212
228
|
```
|
|
213
229
|
|
|
214
230
|
---
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/__init__.py
RENAMED
|
@@ -111,7 +111,7 @@ class CogniteAdapter:
|
|
|
111
111
|
operation = self._upsert_mapper.map(entries)
|
|
112
112
|
|
|
113
113
|
for node_chunk in operation.chunk_nodes():
|
|
114
|
-
logger.
|
|
114
|
+
logger.debug(
|
|
115
115
|
f"Upserting {len(node_chunk)} nodes (replace={replace})"
|
|
116
116
|
)
|
|
117
117
|
self._cognite_client.data_modeling.instances.apply(
|
|
@@ -120,7 +120,7 @@ class CogniteAdapter:
|
|
|
120
120
|
)
|
|
121
121
|
|
|
122
122
|
for edge_chunk in operation.chunk_edges():
|
|
123
|
-
logger.
|
|
123
|
+
logger.debug(
|
|
124
124
|
f"Upserting {len(edge_chunk)} edges (replace={replace})"
|
|
125
125
|
)
|
|
126
126
|
self._cognite_client.data_modeling.instances.apply(
|
|
@@ -129,11 +129,16 @@ class CogniteAdapter:
|
|
|
129
129
|
)
|
|
130
130
|
|
|
131
131
|
for edges_to_remove_chunk in operation.chunk_edges_to_delete():
|
|
132
|
-
logger.
|
|
132
|
+
logger.debug(f"Deleting {len(edges_to_remove_chunk)} edges")
|
|
133
133
|
self._cognite_client.data_modeling.instances.delete(
|
|
134
134
|
edges=[item.as_tuple() for item in edges_to_remove_chunk],
|
|
135
135
|
)
|
|
136
136
|
|
|
137
|
+
def delete(self, nodes: list[TViewInstance]) -> None:
|
|
138
|
+
self._cognite_client.data_modeling.instances.delete(
|
|
139
|
+
nodes=[item.as_tuple() for item in nodes],
|
|
140
|
+
)
|
|
141
|
+
|
|
137
142
|
def _query_dependencies_pages(
|
|
138
143
|
self,
|
|
139
144
|
cognite_query: CogniteQuery,
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/engines/async_engine.py
RENAMED
|
@@ -47,3 +47,6 @@ class AsyncEngine:
|
|
|
47
47
|
self, entries: list[TWritableViewInstance], replace: bool = False
|
|
48
48
|
) -> None:
|
|
49
49
|
return await run_async(self._engine.upsert, entries, replace)
|
|
50
|
+
|
|
51
|
+
async def delete_async(self, nodes: list[TViewInstance]) -> None:
|
|
52
|
+
return await run_async(self._engine.delete, nodes)
|
|
@@ -99,7 +99,7 @@ def _get_field_type(
|
|
|
99
99
|
entries: list[type[BaseModel] | None] = []
|
|
100
100
|
for arg in get_args(type_hint):
|
|
101
101
|
if _type_is_list_or_union(arg):
|
|
102
|
-
return _get_field_type(arg, visited_count)
|
|
102
|
+
return _get_field_type(arg, parent_type, visited_count)
|
|
103
103
|
entries.append(_cast_base_model(arg))
|
|
104
104
|
|
|
105
105
|
return _get_field_relations(entries, parent_type, visited_count)
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
from pydantic import BaseModel
|
|
2
|
+
|
|
3
|
+
from industrial_model.models import get_schema_properties
|
|
4
|
+
from tests.models import (
|
|
5
|
+
DescribableEntity,
|
|
6
|
+
Event,
|
|
7
|
+
EventDetail,
|
|
8
|
+
Msdp,
|
|
9
|
+
ReportingSite,
|
|
10
|
+
WritableEvent,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
SEP = "|"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class _Car(BaseModel):
|
|
17
|
+
model: str
|
|
18
|
+
year: int
|
|
19
|
+
owner: "SuperNestedModel"
|
|
20
|
+
previous_owners: list["SuperNestedModel"] | None
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class SuperNestedModel(DescribableEntity):
|
|
24
|
+
parent: "SuperNestedModel"
|
|
25
|
+
children: list["SuperNestedModel"]
|
|
26
|
+
cars: list[_Car] | None
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def test_get_schema_properties() -> None:
|
|
30
|
+
for entity, expected_schema in _get_test_schema().items():
|
|
31
|
+
schema = get_schema_properties(entity, SEP)
|
|
32
|
+
assert schema == expected_schema, (
|
|
33
|
+
f"Expected {expected_schema}, got {schema}"
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _get_test_schema() -> dict[type[BaseModel], list[str]]:
|
|
38
|
+
return {
|
|
39
|
+
Msdp: ["effectiveDate", "externalId", "space"],
|
|
40
|
+
DescribableEntity: ["description", "externalId", "name", "space"],
|
|
41
|
+
ReportingSite: [
|
|
42
|
+
"description",
|
|
43
|
+
"externalId",
|
|
44
|
+
"name",
|
|
45
|
+
"space",
|
|
46
|
+
"timeZone",
|
|
47
|
+
"timeZone|description",
|
|
48
|
+
"timeZone|externalId",
|
|
49
|
+
"timeZone|name",
|
|
50
|
+
"timeZone|space",
|
|
51
|
+
],
|
|
52
|
+
EventDetail: [
|
|
53
|
+
"externalId",
|
|
54
|
+
"refDiscipline",
|
|
55
|
+
"refDiscipline|description",
|
|
56
|
+
"refDiscipline|externalId",
|
|
57
|
+
"refDiscipline|name",
|
|
58
|
+
"refDiscipline|space",
|
|
59
|
+
"refEquipment",
|
|
60
|
+
"refEquipment|description",
|
|
61
|
+
"refEquipment|externalId",
|
|
62
|
+
"refEquipment|name",
|
|
63
|
+
"refEquipment|space",
|
|
64
|
+
"refEventCode",
|
|
65
|
+
"refEventCode|description",
|
|
66
|
+
"refEventCode|externalId",
|
|
67
|
+
"refEventCode|name",
|
|
68
|
+
"refEventCode|space",
|
|
69
|
+
"refMetricCode",
|
|
70
|
+
"refMetricCode|description",
|
|
71
|
+
"refMetricCode|externalId",
|
|
72
|
+
"refMetricCode|name",
|
|
73
|
+
"refMetricCode|space",
|
|
74
|
+
"refSubCategoryL1",
|
|
75
|
+
"refSubCategoryL1|description",
|
|
76
|
+
"refSubCategoryL1|externalId",
|
|
77
|
+
"refSubCategoryL1|name",
|
|
78
|
+
"refSubCategoryL1|space",
|
|
79
|
+
"refSubCategoryL2",
|
|
80
|
+
"refSubCategoryL2|description",
|
|
81
|
+
"refSubCategoryL2|externalId",
|
|
82
|
+
"refSubCategoryL2|name",
|
|
83
|
+
"refSubCategoryL2|space",
|
|
84
|
+
"refSubCategoryL3",
|
|
85
|
+
"refSubCategoryL3|description",
|
|
86
|
+
"refSubCategoryL3|externalId",
|
|
87
|
+
"refSubCategoryL3|name",
|
|
88
|
+
"refSubCategoryL3|space",
|
|
89
|
+
"refSubCategoryL4",
|
|
90
|
+
"refSubCategoryL4|description",
|
|
91
|
+
"refSubCategoryL4|externalId",
|
|
92
|
+
"refSubCategoryL4|name",
|
|
93
|
+
"refSubCategoryL4|space",
|
|
94
|
+
"refSubCategoryL5",
|
|
95
|
+
"refSubCategoryL5|description",
|
|
96
|
+
"refSubCategoryL5|externalId",
|
|
97
|
+
"refSubCategoryL5|name",
|
|
98
|
+
"refSubCategoryL5|space",
|
|
99
|
+
"space",
|
|
100
|
+
],
|
|
101
|
+
Event: [
|
|
102
|
+
"externalId",
|
|
103
|
+
"refMaterial",
|
|
104
|
+
"refMaterial|description",
|
|
105
|
+
"refMaterial|externalId",
|
|
106
|
+
"refMaterial|name",
|
|
107
|
+
"refMaterial|space",
|
|
108
|
+
"refOEEEventDetail",
|
|
109
|
+
"refOEEEventDetail|externalId",
|
|
110
|
+
"refOEEEventDetail|refDiscipline",
|
|
111
|
+
"refOEEEventDetail|refDiscipline|description",
|
|
112
|
+
"refOEEEventDetail|refDiscipline|externalId",
|
|
113
|
+
"refOEEEventDetail|refDiscipline|name",
|
|
114
|
+
"refOEEEventDetail|refDiscipline|space",
|
|
115
|
+
"refOEEEventDetail|refEquipment",
|
|
116
|
+
"refOEEEventDetail|refEquipment|description",
|
|
117
|
+
"refOEEEventDetail|refEquipment|externalId",
|
|
118
|
+
"refOEEEventDetail|refEquipment|name",
|
|
119
|
+
"refOEEEventDetail|refEquipment|space",
|
|
120
|
+
"refOEEEventDetail|refEventCode",
|
|
121
|
+
"refOEEEventDetail|refEventCode|description",
|
|
122
|
+
"refOEEEventDetail|refEventCode|externalId",
|
|
123
|
+
"refOEEEventDetail|refEventCode|name",
|
|
124
|
+
"refOEEEventDetail|refEventCode|space",
|
|
125
|
+
"refOEEEventDetail|refMetricCode",
|
|
126
|
+
"refOEEEventDetail|refMetricCode|description",
|
|
127
|
+
"refOEEEventDetail|refMetricCode|externalId",
|
|
128
|
+
"refOEEEventDetail|refMetricCode|name",
|
|
129
|
+
"refOEEEventDetail|refMetricCode|space",
|
|
130
|
+
"refOEEEventDetail|refSubCategoryL1",
|
|
131
|
+
"refOEEEventDetail|refSubCategoryL1|description",
|
|
132
|
+
"refOEEEventDetail|refSubCategoryL1|externalId",
|
|
133
|
+
"refOEEEventDetail|refSubCategoryL1|name",
|
|
134
|
+
"refOEEEventDetail|refSubCategoryL1|space",
|
|
135
|
+
"refOEEEventDetail|refSubCategoryL2",
|
|
136
|
+
"refOEEEventDetail|refSubCategoryL2|description",
|
|
137
|
+
"refOEEEventDetail|refSubCategoryL2|externalId",
|
|
138
|
+
"refOEEEventDetail|refSubCategoryL2|name",
|
|
139
|
+
"refOEEEventDetail|refSubCategoryL2|space",
|
|
140
|
+
"refOEEEventDetail|refSubCategoryL3",
|
|
141
|
+
"refOEEEventDetail|refSubCategoryL3|description",
|
|
142
|
+
"refOEEEventDetail|refSubCategoryL3|externalId",
|
|
143
|
+
"refOEEEventDetail|refSubCategoryL3|name",
|
|
144
|
+
"refOEEEventDetail|refSubCategoryL3|space",
|
|
145
|
+
"refOEEEventDetail|refSubCategoryL4",
|
|
146
|
+
"refOEEEventDetail|refSubCategoryL4|description",
|
|
147
|
+
"refOEEEventDetail|refSubCategoryL4|externalId",
|
|
148
|
+
"refOEEEventDetail|refSubCategoryL4|name",
|
|
149
|
+
"refOEEEventDetail|refSubCategoryL4|space",
|
|
150
|
+
"refOEEEventDetail|refSubCategoryL5",
|
|
151
|
+
"refOEEEventDetail|refSubCategoryL5|description",
|
|
152
|
+
"refOEEEventDetail|refSubCategoryL5|externalId",
|
|
153
|
+
"refOEEEventDetail|refSubCategoryL5|name",
|
|
154
|
+
"refOEEEventDetail|refSubCategoryL5|space",
|
|
155
|
+
"refOEEEventDetail|space",
|
|
156
|
+
"refProcessType",
|
|
157
|
+
"refProcessType|description",
|
|
158
|
+
"refProcessType|externalId",
|
|
159
|
+
"refProcessType|name",
|
|
160
|
+
"refProcessType|space",
|
|
161
|
+
"refProduct",
|
|
162
|
+
"refProduct|description",
|
|
163
|
+
"refProduct|externalId",
|
|
164
|
+
"refProduct|name",
|
|
165
|
+
"refProduct|space",
|
|
166
|
+
"refReportingLine",
|
|
167
|
+
"refReportingLine|description",
|
|
168
|
+
"refReportingLine|externalId",
|
|
169
|
+
"refReportingLine|name",
|
|
170
|
+
"refReportingLine|space",
|
|
171
|
+
"refReportingLocation",
|
|
172
|
+
"refReportingLocation|description",
|
|
173
|
+
"refReportingLocation|externalId",
|
|
174
|
+
"refReportingLocation|name",
|
|
175
|
+
"refReportingLocation|space",
|
|
176
|
+
"refSite",
|
|
177
|
+
"refSite|description",
|
|
178
|
+
"refSite|externalId",
|
|
179
|
+
"refSite|name",
|
|
180
|
+
"refSite|space",
|
|
181
|
+
"refSite|timeZone",
|
|
182
|
+
"refSite|timeZone|description",
|
|
183
|
+
"refSite|timeZone|externalId",
|
|
184
|
+
"refSite|timeZone|name",
|
|
185
|
+
"refSite|timeZone|space",
|
|
186
|
+
"refUnit",
|
|
187
|
+
"refUnit|description",
|
|
188
|
+
"refUnit|externalId",
|
|
189
|
+
"refUnit|name",
|
|
190
|
+
"refUnit|space",
|
|
191
|
+
"space",
|
|
192
|
+
"startDateTime",
|
|
193
|
+
],
|
|
194
|
+
WritableEvent: [
|
|
195
|
+
"externalId",
|
|
196
|
+
"refOEEEventDetail",
|
|
197
|
+
"refOEEEventDetail|externalId",
|
|
198
|
+
"refOEEEventDetail|refDiscipline",
|
|
199
|
+
"refOEEEventDetail|refDiscipline|description",
|
|
200
|
+
"refOEEEventDetail|refDiscipline|externalId",
|
|
201
|
+
"refOEEEventDetail|refDiscipline|name",
|
|
202
|
+
"refOEEEventDetail|refDiscipline|space",
|
|
203
|
+
"refOEEEventDetail|refEquipment",
|
|
204
|
+
"refOEEEventDetail|refEquipment|description",
|
|
205
|
+
"refOEEEventDetail|refEquipment|externalId",
|
|
206
|
+
"refOEEEventDetail|refEquipment|name",
|
|
207
|
+
"refOEEEventDetail|refEquipment|space",
|
|
208
|
+
"refOEEEventDetail|refEventCode",
|
|
209
|
+
"refOEEEventDetail|refEventCode|description",
|
|
210
|
+
"refOEEEventDetail|refEventCode|externalId",
|
|
211
|
+
"refOEEEventDetail|refEventCode|name",
|
|
212
|
+
"refOEEEventDetail|refEventCode|space",
|
|
213
|
+
"refOEEEventDetail|refMetricCode",
|
|
214
|
+
"refOEEEventDetail|refMetricCode|description",
|
|
215
|
+
"refOEEEventDetail|refMetricCode|externalId",
|
|
216
|
+
"refOEEEventDetail|refMetricCode|name",
|
|
217
|
+
"refOEEEventDetail|refMetricCode|space",
|
|
218
|
+
"refOEEEventDetail|refSubCategoryL1",
|
|
219
|
+
"refOEEEventDetail|refSubCategoryL1|description",
|
|
220
|
+
"refOEEEventDetail|refSubCategoryL1|externalId",
|
|
221
|
+
"refOEEEventDetail|refSubCategoryL1|name",
|
|
222
|
+
"refOEEEventDetail|refSubCategoryL1|space",
|
|
223
|
+
"refOEEEventDetail|refSubCategoryL2",
|
|
224
|
+
"refOEEEventDetail|refSubCategoryL2|description",
|
|
225
|
+
"refOEEEventDetail|refSubCategoryL2|externalId",
|
|
226
|
+
"refOEEEventDetail|refSubCategoryL2|name",
|
|
227
|
+
"refOEEEventDetail|refSubCategoryL2|space",
|
|
228
|
+
"refOEEEventDetail|refSubCategoryL3",
|
|
229
|
+
"refOEEEventDetail|refSubCategoryL3|description",
|
|
230
|
+
"refOEEEventDetail|refSubCategoryL3|externalId",
|
|
231
|
+
"refOEEEventDetail|refSubCategoryL3|name",
|
|
232
|
+
"refOEEEventDetail|refSubCategoryL3|space",
|
|
233
|
+
"refOEEEventDetail|refSubCategoryL4",
|
|
234
|
+
"refOEEEventDetail|refSubCategoryL4|description",
|
|
235
|
+
"refOEEEventDetail|refSubCategoryL4|externalId",
|
|
236
|
+
"refOEEEventDetail|refSubCategoryL4|name",
|
|
237
|
+
"refOEEEventDetail|refSubCategoryL4|space",
|
|
238
|
+
"refOEEEventDetail|refSubCategoryL5",
|
|
239
|
+
"refOEEEventDetail|refSubCategoryL5|description",
|
|
240
|
+
"refOEEEventDetail|refSubCategoryL5|externalId",
|
|
241
|
+
"refOEEEventDetail|refSubCategoryL5|name",
|
|
242
|
+
"refOEEEventDetail|refSubCategoryL5|space",
|
|
243
|
+
"refOEEEventDetail|space",
|
|
244
|
+
"refReportingLine",
|
|
245
|
+
"refReportingLine|description",
|
|
246
|
+
"refReportingLine|externalId",
|
|
247
|
+
"refReportingLine|name",
|
|
248
|
+
"refReportingLine|space",
|
|
249
|
+
"refSite",
|
|
250
|
+
"refSite|description",
|
|
251
|
+
"refSite|externalId",
|
|
252
|
+
"refSite|name",
|
|
253
|
+
"refSite|space",
|
|
254
|
+
"refSite|timeZone",
|
|
255
|
+
"refSite|timeZone|description",
|
|
256
|
+
"refSite|timeZone|externalId",
|
|
257
|
+
"refSite|timeZone|name",
|
|
258
|
+
"refSite|timeZone|space",
|
|
259
|
+
"space",
|
|
260
|
+
"startDateTime",
|
|
261
|
+
],
|
|
262
|
+
SuperNestedModel: [
|
|
263
|
+
"cars",
|
|
264
|
+
"cars|model",
|
|
265
|
+
"cars|owner",
|
|
266
|
+
"cars|owner|cars",
|
|
267
|
+
"cars|owner|cars|model",
|
|
268
|
+
"cars|owner|cars|owner",
|
|
269
|
+
"cars|owner|cars|previous_owners",
|
|
270
|
+
"cars|owner|cars|year",
|
|
271
|
+
"cars|owner|children",
|
|
272
|
+
"cars|owner|description",
|
|
273
|
+
"cars|owner|externalId",
|
|
274
|
+
"cars|owner|name",
|
|
275
|
+
"cars|owner|parent",
|
|
276
|
+
"cars|owner|parent|cars",
|
|
277
|
+
"cars|owner|parent|cars|model",
|
|
278
|
+
"cars|owner|parent|cars|owner",
|
|
279
|
+
"cars|owner|parent|cars|previous_owners",
|
|
280
|
+
"cars|owner|parent|cars|year",
|
|
281
|
+
"cars|owner|parent|children",
|
|
282
|
+
"cars|owner|parent|description",
|
|
283
|
+
"cars|owner|parent|externalId",
|
|
284
|
+
"cars|owner|parent|name",
|
|
285
|
+
"cars|owner|parent|parent",
|
|
286
|
+
"cars|owner|parent|parent|cars",
|
|
287
|
+
"cars|owner|parent|parent|cars|model",
|
|
288
|
+
"cars|owner|parent|parent|cars|owner",
|
|
289
|
+
"cars|owner|parent|parent|cars|previous_owners",
|
|
290
|
+
"cars|owner|parent|parent|cars|year",
|
|
291
|
+
"cars|owner|parent|parent|children",
|
|
292
|
+
"cars|owner|parent|parent|description",
|
|
293
|
+
"cars|owner|parent|parent|externalId",
|
|
294
|
+
"cars|owner|parent|parent|name",
|
|
295
|
+
"cars|owner|parent|parent|parent",
|
|
296
|
+
"cars|owner|parent|parent|space",
|
|
297
|
+
"cars|owner|parent|space",
|
|
298
|
+
"cars|owner|space",
|
|
299
|
+
"cars|previous_owners",
|
|
300
|
+
"cars|year",
|
|
301
|
+
"children",
|
|
302
|
+
"children|cars",
|
|
303
|
+
"children|cars|model",
|
|
304
|
+
"children|cars|owner",
|
|
305
|
+
"children|cars|previous_owners",
|
|
306
|
+
"children|cars|year",
|
|
307
|
+
"children|children",
|
|
308
|
+
"children|description",
|
|
309
|
+
"children|externalId",
|
|
310
|
+
"children|name",
|
|
311
|
+
"children|parent",
|
|
312
|
+
"children|parent|cars",
|
|
313
|
+
"children|parent|cars|model",
|
|
314
|
+
"children|parent|cars|owner",
|
|
315
|
+
"children|parent|cars|previous_owners",
|
|
316
|
+
"children|parent|cars|year",
|
|
317
|
+
"children|parent|children",
|
|
318
|
+
"children|parent|description",
|
|
319
|
+
"children|parent|externalId",
|
|
320
|
+
"children|parent|name",
|
|
321
|
+
"children|parent|parent",
|
|
322
|
+
"children|parent|space",
|
|
323
|
+
"children|space",
|
|
324
|
+
"description",
|
|
325
|
+
"externalId",
|
|
326
|
+
"name",
|
|
327
|
+
"parent",
|
|
328
|
+
"parent|cars",
|
|
329
|
+
"parent|cars|model",
|
|
330
|
+
"parent|cars|owner",
|
|
331
|
+
"parent|cars|previous_owners",
|
|
332
|
+
"parent|cars|year",
|
|
333
|
+
"parent|children",
|
|
334
|
+
"parent|description",
|
|
335
|
+
"parent|externalId",
|
|
336
|
+
"parent|name",
|
|
337
|
+
"parent|parent",
|
|
338
|
+
"parent|parent|cars",
|
|
339
|
+
"parent|parent|cars|model",
|
|
340
|
+
"parent|parent|cars|owner",
|
|
341
|
+
"parent|parent|cars|previous_owners",
|
|
342
|
+
"parent|parent|cars|year",
|
|
343
|
+
"parent|parent|children",
|
|
344
|
+
"parent|parent|description",
|
|
345
|
+
"parent|parent|externalId",
|
|
346
|
+
"parent|parent|name",
|
|
347
|
+
"parent|parent|parent",
|
|
348
|
+
"parent|parent|space",
|
|
349
|
+
"parent|space",
|
|
350
|
+
"space",
|
|
351
|
+
],
|
|
352
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
uv build
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/models.py
RENAMED
|
File without changes
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/optimizer.py
RENAMED
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/sort_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/cognite_adapters/view_mapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{industrial_model-0.1.18 → industrial_model-0.1.20}/industrial_model/statements/expressions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|