cognite-toolkit 0.7.17__py3-none-any.whl → 0.7.19__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_toolkit/_cdf_tk/storageio/_asset_centric.py +12 -0
- cognite_toolkit/_cdf_tk/utils/interactive_select.py +8 -3
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml +1 -1
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml +1 -1
- cognite_toolkit/_resources/cdf.toml +1 -1
- cognite_toolkit/_version.py +1 -1
- {cognite_toolkit-0.7.17.dist-info → cognite_toolkit-0.7.19.dist-info}/METADATA +1 -1
- {cognite_toolkit-0.7.17.dist-info → cognite_toolkit-0.7.19.dist-info}/RECORD +11 -11
- {cognite_toolkit-0.7.17.dist-info → cognite_toolkit-0.7.19.dist-info}/WHEEL +0 -0
- {cognite_toolkit-0.7.17.dist-info → cognite_toolkit-0.7.19.dist-info}/entry_points.txt +0 -0
- {cognite_toolkit-0.7.17.dist-info → cognite_toolkit-0.7.19.dist-info}/licenses/LICENSE +0 -0
|
@@ -303,6 +303,9 @@ class AssetIO(UploadableAssetCentricIO[Asset, AssetWrite]):
|
|
|
303
303
|
asset_subtree_external_ids=asset_subtree_external_ids,
|
|
304
304
|
data_set_external_ids=data_set_external_ids,
|
|
305
305
|
aggregated_properties=["child_count", "path", "depth"],
|
|
306
|
+
# We cannot use partitions here as it is not thread safe. This spawn multiple threads
|
|
307
|
+
# that are not shut down until all data is downloaded. We need to be able to abort.
|
|
308
|
+
partitions=None,
|
|
306
309
|
):
|
|
307
310
|
self._collect_dependencies(asset_list, selector)
|
|
308
311
|
yield Page(worker_id="main", items=asset_list)
|
|
@@ -423,6 +426,9 @@ class FileMetadataIO(AssetCentricIO[FileMetadata]):
|
|
|
423
426
|
limit=limit,
|
|
424
427
|
asset_subtree_external_ids=asset_subtree_external_ids,
|
|
425
428
|
data_set_external_ids=data_set_external_ids,
|
|
429
|
+
# We cannot use partitions here as it is not thread safe. This spawn multiple threads
|
|
430
|
+
# that are not shut down until all data is downloaded. We need to be able to abort.
|
|
431
|
+
partitions=None,
|
|
426
432
|
):
|
|
427
433
|
self._collect_dependencies(file_list, selector)
|
|
428
434
|
yield Page(worker_id="main", items=file_list)
|
|
@@ -470,6 +476,9 @@ class TimeSeriesIO(UploadableAssetCentricIO[TimeSeries, TimeSeriesWrite]):
|
|
|
470
476
|
limit=limit,
|
|
471
477
|
asset_subtree_external_ids=asset_subtree_external_ids,
|
|
472
478
|
data_set_external_ids=data_set_external_ids,
|
|
479
|
+
# We cannot use partitions here as it is not thread safe. This spawn multiple threads
|
|
480
|
+
# that are not shut down until all data is downloaded. We need to be able to abort.
|
|
481
|
+
partitions=None,
|
|
473
482
|
):
|
|
474
483
|
self._collect_dependencies(ts_list, selector)
|
|
475
484
|
yield Page(worker_id="main", items=ts_list)
|
|
@@ -597,6 +606,9 @@ class EventIO(UploadableAssetCentricIO[Event, EventWrite]):
|
|
|
597
606
|
limit=limit,
|
|
598
607
|
asset_subtree_external_ids=asset_subtree_external_ids,
|
|
599
608
|
data_set_external_ids=data_set_external_ids,
|
|
609
|
+
# We cannot use partitions here as it is not thread safe. This spawn multiple threads
|
|
610
|
+
# that are not shut down until all data is downloaded. We need to be able to abort.
|
|
611
|
+
partitions=None,
|
|
600
612
|
):
|
|
601
613
|
self._collect_dependencies(event_list, selector)
|
|
602
614
|
yield Page(worker_id="main", items=event_list)
|
|
@@ -306,9 +306,14 @@ class InteractiveCanvasSelect:
|
|
|
306
306
|
opening_choices: ClassVar[list[questionary.Choice]] = [
|
|
307
307
|
questionary.Choice(title="All public Canvases", value=CanvasFilter(visibility="public", select_all=True)),
|
|
308
308
|
questionary.Choice(title="Selected public Canvases", value=CanvasFilter(visibility="public", select_all=False)),
|
|
309
|
-
questionary.Choice(
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
questionary.Choice(
|
|
310
|
+
title="All public Canvases by given user",
|
|
311
|
+
value=CanvasFilter(created_by="user", select_all=True, visibility="public"),
|
|
312
|
+
),
|
|
313
|
+
questionary.Choice(
|
|
314
|
+
title="Selected public Canvases by given user",
|
|
315
|
+
value=CanvasFilter(created_by="user", select_all=False, visibility="public"),
|
|
316
|
+
),
|
|
312
317
|
]
|
|
313
318
|
|
|
314
319
|
def __init__(self, client: ToolkitClient) -> None:
|
cognite_toolkit/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.7.
|
|
1
|
+
__version__ = "0.7.19"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cognite_toolkit
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.19
|
|
4
4
|
Summary: Official Cognite Data Fusion tool for project templates and configuration deployment
|
|
5
5
|
Project-URL: Homepage, https://docs.cognite.com/cdf/deploy/cdf_toolkit/
|
|
6
6
|
Project-URL: Changelog, https://github.com/cognitedata/toolkit/releases
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cognite_toolkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
cognite_toolkit/_cdf.py,sha256=sefGD2JQuOTBZhEqSj_ECbNZ7nTRN4AwGwX1pSUhoow,5636
|
|
3
|
-
cognite_toolkit/_version.py,sha256
|
|
3
|
+
cognite_toolkit/_version.py,sha256=-_OxJPv2D0J4Tap1QJZo4Z4XyBYoG9M_2-0CsJ35W-I,23
|
|
4
4
|
cognite_toolkit/config.dev.yaml,sha256=M33FiIKdS3XKif-9vXniQ444GTZ-bLXV8aFH86u9iUQ,332
|
|
5
5
|
cognite_toolkit/_cdf_tk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
cognite_toolkit/_cdf_tk/cdf_toml.py,sha256=VSWV9h44HusWIaKpWgjrOMrc3hDoPTTXBXlp6-NOrIM,9079
|
|
@@ -245,7 +245,7 @@ cognite_toolkit/_cdf_tk/resource_classes/robotics/map.py,sha256=j77z7CzCMiMj8r94
|
|
|
245
245
|
cognite_toolkit/_cdf_tk/storageio/__init__.py,sha256=h5Wr4i7zNIgsslrsRJxmp7ls4bNRKl0uZzQ7GLRMP7g,1920
|
|
246
246
|
cognite_toolkit/_cdf_tk/storageio/_annotations.py,sha256=JI_g18_Y9S7pbc9gm6dZMyo3Z-bCndJXF9C2lOva0bQ,4848
|
|
247
247
|
cognite_toolkit/_cdf_tk/storageio/_applications.py,sha256=VlTRHqp8jVu16SW7LtrN05BNYZHSPtJ_wf9EsBAAsvE,16419
|
|
248
|
-
cognite_toolkit/_cdf_tk/storageio/_asset_centric.py,sha256=
|
|
248
|
+
cognite_toolkit/_cdf_tk/storageio/_asset_centric.py,sha256=59m4vhhCjUEsECtdsEWY7hyFaW1eLj6AoaFBqD00Zjk,31713
|
|
249
249
|
cognite_toolkit/_cdf_tk/storageio/_base.py,sha256=ElvqhIEBnhcz0yY1Ds164wVN0_7CFNK-uT0-z7LcR9U,13067
|
|
250
250
|
cognite_toolkit/_cdf_tk/storageio/_data_classes.py,sha256=s3TH04BJ1q7rXndRhEbVMEnoOXjxrGg4n-w9Z5uUL-o,3480
|
|
251
251
|
cognite_toolkit/_cdf_tk/storageio/_datapoints.py,sha256=xE1YgoP98-mJjIeF5536KwChzhVY90KYl-bW5sRVhFQ,20206
|
|
@@ -279,7 +279,7 @@ cognite_toolkit/_cdf_tk/utils/dtype_conversion.py,sha256=HRguV7h13w-wm6CaMRRmQsS
|
|
|
279
279
|
cognite_toolkit/_cdf_tk/utils/file.py,sha256=0OYQgRRmursxHDW7-QJf-qcnzyc7IZsiKSiX8aYmPA0,17763
|
|
280
280
|
cognite_toolkit/_cdf_tk/utils/graphql_parser.py,sha256=2i2wDjg_Uw3hJ-pHtPK8hczIuCj5atrK8HZbgWJB-Pk,11532
|
|
281
281
|
cognite_toolkit/_cdf_tk/utils/hashing.py,sha256=3NyNfljyYNTqAyAFBd6XlyWaj43jRzENxIuPdOY6nqo,2116
|
|
282
|
-
cognite_toolkit/_cdf_tk/utils/interactive_select.py,sha256=
|
|
282
|
+
cognite_toolkit/_cdf_tk/utils/interactive_select.py,sha256=dP_ZFHvzQRPQxRt6EzURY3Z3Ld_otJtCz-nGqUNtt1k,35725
|
|
283
283
|
cognite_toolkit/_cdf_tk/utils/modules.py,sha256=9RvOGUaGEi_-A7Qrq0E1tCx82QK8GbvEZXB7r1RnD_U,5974
|
|
284
284
|
cognite_toolkit/_cdf_tk/utils/producer_worker.py,sha256=1l77HIehkq1ARCBH6SlZ_V-jd6QKijYKeWetcUmAXg0,14216
|
|
285
285
|
cognite_toolkit/_cdf_tk/utils/progress_tracker.py,sha256=LGpC22iSTTlo6FWi38kqBu_E4XouTvZU_N953WAzZWA,3865
|
|
@@ -305,13 +305,13 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
|
|
|
305
305
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
|
|
306
306
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
|
|
307
307
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
|
|
308
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=
|
|
309
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=
|
|
310
|
-
cognite_toolkit/_resources/cdf.toml,sha256=
|
|
308
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=ooLfuTmEtRjoSVSfA0I-Tf82Yis1Sa6C6nYRKYzkHq0,667
|
|
309
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=mXV7t80OIGPp0MHXaKYxMI_RyvXJF8g9i3qGBMdcTHk,2430
|
|
310
|
+
cognite_toolkit/_resources/cdf.toml,sha256=lUpjLpGkcB6bnDTxUDaNdaunOrWY66j11kbnqJa3mFE,475
|
|
311
311
|
cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
|
|
312
312
|
cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
|
|
313
|
-
cognite_toolkit-0.7.
|
|
314
|
-
cognite_toolkit-0.7.
|
|
315
|
-
cognite_toolkit-0.7.
|
|
316
|
-
cognite_toolkit-0.7.
|
|
317
|
-
cognite_toolkit-0.7.
|
|
313
|
+
cognite_toolkit-0.7.19.dist-info/METADATA,sha256=YYMs-Mr4NmKnKYEFsH1Uj6aI8LRyIqSiunnpRs12WwQ,4501
|
|
314
|
+
cognite_toolkit-0.7.19.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
315
|
+
cognite_toolkit-0.7.19.dist-info/entry_points.txt,sha256=JlR7MH1_UMogC3QOyN4-1l36VbrCX9xUdQoHGkuJ6-4,83
|
|
316
|
+
cognite_toolkit-0.7.19.dist-info/licenses/LICENSE,sha256=CW0DRcx5tL-pCxLEN7ts2S9g2sLRAsWgHVEX4SN9_Mc,752
|
|
317
|
+
cognite_toolkit-0.7.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|