cognite-neat 0.119.6__py3-none-any.whl → 0.119.7__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.
@@ -1,6 +1,5 @@
1
1
  import warnings
2
2
  import zipfile
3
- from collections.abc import Collection
4
3
  from pathlib import Path
5
4
  from typing import Any, Literal, cast, overload
6
5
 
@@ -15,7 +14,6 @@ from cognite.neat._issues import IssueList, NeatIssue, catch_issues
15
14
  from cognite.neat._rules import exporters
16
15
  from cognite.neat._rules._constants import PATTERNS
17
16
  from cognite.neat._rules._shared import VerifiedRules
18
- from cognite.neat._rules.exporters._rules2dms import Component
19
17
  from cognite.neat._rules.importers import DMSImporter
20
18
  from cognite.neat._rules.models import DMSRules, InformationRules
21
19
  from cognite.neat._rules.models.dms import DMSMetadata
@@ -348,7 +346,6 @@ class CDFToAPI:
348
346
  existing: Literal["fail", "skip", "update", "force", "recreate"] = "update",
349
347
  dry_run: bool = False,
350
348
  drop_data: bool = False,
351
- components: Component | Collection[Component] | None = None,
352
349
  ) -> UploadResultList:
353
350
  """Export the verified DMS data model to CDF.
354
351
 
@@ -359,7 +356,6 @@ class CDFToAPI:
359
356
  drop_data: If existing is 'force' or 'recreate' and the operation will lead to data loss,
360
357
  the component will be skipped unless drop_data is True. Defaults to False.
361
358
  Note this only applies to spaces and containers if they contain data.
362
- components: The components to export. If None, all components will be exported. Defaults to None.
363
359
 
364
360
  !!! note "Data Model creation modes"
365
361
  - "fail": If any component already exists, the export will fail.
@@ -377,7 +373,7 @@ class CDFToAPI:
377
373
  client_required=True,
378
374
  )
379
375
 
380
- exporter = exporters.DMSExporter(existing=existing, export_components=components, drop_data=drop_data)
376
+ exporter = exporters.DMSExporter(existing=existing, drop_data=drop_data)
381
377
 
382
378
  result = self._state.rule_store.export_to_cdf(exporter, cast(NeatClient, self._state.client), dry_run)
383
379
  print("You can inspect the details with the .inspect.outcome.data_model(...) method.")
cognite/neat/_version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "0.119.6"
1
+ __version__ = "0.119.7"
2
2
  __engine__ = "^2.0.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cognite-neat
3
- Version: 0.119.6
3
+ Version: 0.119.7
4
4
  Summary: Knowledge graph transformation
5
5
  License: Apache-2.0
6
6
  Author: Nikola Vasiljevic
@@ -150,7 +150,7 @@ cognite/neat/_session/_show.py,sha256=9c0eUGtvN6pIX594P6hVofxDwO7lDE-N3A52htJjcv
150
150
  cognite/neat/_session/_state.py,sha256=6b0BSXm7m5-OcsF_O0A_7ec9tt8oPqH8zHImyEhVQQA,6313
151
151
  cognite/neat/_session/_subset.py,sha256=4RFGC8apNLnRSKcoDh95ksXA7zLy8vGLxEV5U0H3Hoc,2687
152
152
  cognite/neat/_session/_template.py,sha256=__oBxd7Zqd_TxWtEPohu17TxKrgQ_RhpHzx-FOyat_Y,11474
153
- cognite/neat/_session/_to.py,sha256=S7209afgOlLWbsKOA0Z4lAwT57gzLmSDaUWpUaWjJJY,19118
153
+ cognite/neat/_session/_to.py,sha256=OSjlihit_8zxzU7PISzcMQLc4Kr9Vw18tfJb8x2cQkI,18807
154
154
  cognite/neat/_session/_wizard.py,sha256=9idlzhZy54h2Iwupe9iXKX3RDb5jJQuBZFEouni50L0,1476
155
155
  cognite/neat/_session/engine/__init__.py,sha256=D3MxUorEs6-NtgoICqtZ8PISQrjrr4dvca6n48bu_bI,120
156
156
  cognite/neat/_session/engine/_import.py,sha256=1QxA2_EK613lXYAHKQbZyw2yjo5P9XuiX4Z6_6-WMNQ,169
@@ -178,10 +178,10 @@ cognite/neat/_utils/text.py,sha256=9T0mzcNn6J9X8DriNntLN5ThCXOWbU1BYareukbLT7A,8
178
178
  cognite/neat/_utils/time_.py,sha256=7ayUm0OWZm1JDmy32E4ip8WRr2o0GLwrHwJA8sJ43Z4,357
179
179
  cognite/neat/_utils/upload.py,sha256=xWtM6mFuD2QYQHaZ7zCAuGptbEpPIxcH-raWQu93-Ug,5845
180
180
  cognite/neat/_utils/xml_.py,sha256=FQkq84u35MUsnKcL6nTMJ9ajtG9D5i1u4VBnhGqP2DQ,1710
181
- cognite/neat/_version.py,sha256=PMMvXzjpIQrJcZSFUXSxvBPOKdUWMxSLqlWCXt02gEs,46
181
+ cognite/neat/_version.py,sha256=wZbTCVY8SIzCWpJBek5cFVIAbUrTaPzcewG-vWBtH4g,46
182
182
  cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
- cognite_neat-0.119.6.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
184
- cognite_neat-0.119.6.dist-info/METADATA,sha256=Y_xkuQpxFTBKsbjpHHOpWoHeW6V0tfsa-_ju85U70Ms,7646
185
- cognite_neat-0.119.6.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
186
- cognite_neat-0.119.6.dist-info/entry_points.txt,sha256=SsQlnl8SNMSSjE3acBI835JYFtsIinLSbVmHmMEXv6E,51
187
- cognite_neat-0.119.6.dist-info/RECORD,,
183
+ cognite_neat-0.119.7.dist-info/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
184
+ cognite_neat-0.119.7.dist-info/METADATA,sha256=M-CuG_vT1cgYgBCQt5jV-n20j5c872-W-mHFbFfGh94,7646
185
+ cognite_neat-0.119.7.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
186
+ cognite_neat-0.119.7.dist-info/entry_points.txt,sha256=SsQlnl8SNMSSjE3acBI835JYFtsIinLSbVmHmMEXv6E,51
187
+ cognite_neat-0.119.7.dist-info/RECORD,,