cognite-toolkit 0.6.115__py3-none-any.whl → 0.6.116__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.
@@ -862,6 +862,15 @@ class DumpDataApp(typer.Typer):
862
862
  ] = False,
863
863
  ) -> None:
864
864
  """This command will dump the selected assets in the selected format to the folder specified, defaults to /tmp."""
865
+ if Flags.v07:
866
+ print(
867
+ "[bold yellow]Warning:[/] This command has been removed. Please use `cdf data download assets` instead."
868
+ )
869
+ return None
870
+ elif Flags.v08:
871
+ raise ValueError(
872
+ "The `cdf dump data asset` command has been removed. Please use `cdf data download assets` instead."
873
+ )
865
874
  cmd = DumpDataCommand()
866
875
  client = EnvironmentVariables.create_from_environment().get_client()
867
876
  if hierarchy is None and data_set is None:
@@ -940,6 +949,15 @@ class DumpDataApp(typer.Typer):
940
949
  ] = False,
941
950
  ) -> None:
942
951
  """This command will dump the selected events to the selected format in the folder specified, defaults to /tmp."""
952
+ if Flags.v07:
953
+ print(
954
+ "[bold yellow]Warning:[/] This command has been removed. Please use `cdf data download files` instead."
955
+ )
956
+ return None
957
+ elif Flags.v08:
958
+ raise ValueError(
959
+ "The `cdf dump data files-metadata` command has been removed. Please use `cdf data download files` instead."
960
+ )
943
961
  cmd = DumpDataCommand()
944
962
  cmd.validate_directory(output_dir, clean)
945
963
  client = EnvironmentVariables.create_from_environment().get_client()
@@ -1018,6 +1036,15 @@ class DumpDataApp(typer.Typer):
1018
1036
  ] = False,
1019
1037
  ) -> None:
1020
1038
  """This command will dump the selected timeseries to the selected format in the folder specified, defaults to /tmp."""
1039
+ if Flags.v07:
1040
+ print(
1041
+ "[bold yellow]Warning:[/] This command has been removed. Please use `cdf data download timeseries` instead."
1042
+ )
1043
+ return None
1044
+ elif Flags.v08:
1045
+ raise ValueError(
1046
+ "The `cdf dump data timeseries` command has been removed. Please use `cdf data download timeseries` instead."
1047
+ )
1021
1048
  cmd = DumpDataCommand()
1022
1049
  client = EnvironmentVariables.create_from_environment().get_client()
1023
1050
  if hierarchy is None and data_set is None:
@@ -1095,6 +1122,15 @@ class DumpDataApp(typer.Typer):
1095
1122
  ] = False,
1096
1123
  ) -> None:
1097
1124
  """This command will dump the selected events to the selected format in the folder specified, defaults to /tmp."""
1125
+ if Flags.v07:
1126
+ print(
1127
+ "[bold yellow]Warning:[/] This command has been removed. Please use `cdf data download events` instead."
1128
+ )
1129
+ return None
1130
+ elif Flags.v08:
1131
+ raise ValueError(
1132
+ "The `cdf dump data event` command has been removed. Please use `cdf data download events` instead."
1133
+ )
1098
1134
  cmd = DumpDataCommand()
1099
1135
  cmd.validate_directory(output_dir, clean)
1100
1136
  client = EnvironmentVariables.create_from_environment().get_client()
@@ -89,6 +89,10 @@ class Flags(Enum):
89
89
  visible=True,
90
90
  description="Enables the support for the streams resources",
91
91
  )
92
+ v08 = FlagMetadata(
93
+ visible=False,
94
+ description="Enables features planned for Cognite Toolkit version 0.8.0",
95
+ )
92
96
 
93
97
  def is_enabled(self) -> bool:
94
98
  return FeatureFlag.is_enabled(self)
@@ -12,7 +12,7 @@ jobs:
12
12
  environment: dev
13
13
  name: Deploy
14
14
  container:
15
- image: cognite/toolkit:0.6.115
15
+ image: cognite/toolkit:0.6.116
16
16
  env:
17
17
  CDF_CLUSTER: ${{ vars.CDF_CLUSTER }}
18
18
  CDF_PROJECT: ${{ vars.CDF_PROJECT }}
@@ -10,7 +10,7 @@ jobs:
10
10
  environment: dev
11
11
  name: Deploy Dry Run
12
12
  container:
13
- image: cognite/toolkit:0.6.115
13
+ image: cognite/toolkit:0.6.116
14
14
  env:
15
15
  CDF_CLUSTER: ${{ vars.CDF_CLUSTER }}
16
16
  CDF_PROJECT: ${{ vars.CDF_PROJECT }}
@@ -4,7 +4,7 @@ default_env = "<DEFAULT_ENV_PLACEHOLDER>"
4
4
  [modules]
5
5
  # This is the version of the modules. It should not be changed manually.
6
6
  # It will be updated by the 'cdf modules upgrade' command.
7
- version = "0.6.115"
7
+ version = "0.6.116"
8
8
 
9
9
  [alpha_flags]
10
10
  external-libraries = true
@@ -1 +1 @@
1
- __version__ = "0.6.115"
1
+ __version__ = "0.6.116"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite_toolkit
3
- Version: 0.6.115
3
+ Version: 0.6.116
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,11 +1,11 @@
1
1
  cognite_toolkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  cognite_toolkit/_cdf.py,sha256=qr31QC3AhJukM-9rBeWHBTLuNU01XIXAtV5dzqOU3iA,5958
3
- cognite_toolkit/_version.py,sha256=Z89ggLJjU4yNR7PZQ8iPexZJTOjFTQDJaPNdozHGQjA,24
3
+ cognite_toolkit/_version.py,sha256=ezn27UkIAZOSq_y3A672Sb3NhZFS1DBg7KeB8M57Z6Y,24
4
4
  cognite_toolkit/_cdf_tk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  cognite_toolkit/_cdf_tk/cdf_toml.py,sha256=VSWV9h44HusWIaKpWgjrOMrc3hDoPTTXBXlp6-NOrIM,9079
6
6
  cognite_toolkit/_cdf_tk/constants.py,sha256=3UpFZ60xXdqgPqqpqCITQuAvjnVExH_IlbASxoelvu8,7236
7
7
  cognite_toolkit/_cdf_tk/exceptions.py,sha256=xG0jMwi5A20nvPvyo6sCyz_cyKycynPyIzpYiGR4gcU,6064
8
- cognite_toolkit/_cdf_tk/feature_flags.py,sha256=TjwUmGG5qXBQ-8P1ongh2qQnuRfVRvGaP1JBtuUot88,3106
8
+ cognite_toolkit/_cdf_tk/feature_flags.py,sha256=DYIsy-Ee4CB0Ixwp5LCc1-vy80ivnET7myTJXOTh74E,3241
9
9
  cognite_toolkit/_cdf_tk/hints.py,sha256=UI1ymi2T5wCcYOpEbKbVaDnlyFReFy8TDtMVt-5E1h8,6493
10
10
  cognite_toolkit/_cdf_tk/plugins.py,sha256=JwaN_jrrky1PXBJ3tRpZ22cIcD01EB46WVFgp_bK-fQ,856
11
11
  cognite_toolkit/_cdf_tk/protocols.py,sha256=Lc8XnBfmDZN6dwmSopmK7cFE9a9jZ2zdUryEeCXn27I,3052
@@ -17,7 +17,7 @@ cognite_toolkit/_cdf_tk/apps/_core_app.py,sha256=Xlhdv2MoCs2kBk0kgJixiy8ouCfixUW
17
17
  cognite_toolkit/_cdf_tk/apps/_data_app.py,sha256=rFnTcUBAuoFcTQCjxwqZGG0HjUMGdYTFyBGXxWg5gXE,824
18
18
  cognite_toolkit/_cdf_tk/apps/_dev_app.py,sha256=q8DBr4BAK33AwsHW3gAWZWSjSaQRuCisqPbsBjmYSxk,589
19
19
  cognite_toolkit/_cdf_tk/apps/_download_app.py,sha256=g-VA51KI91wziVuO3w305rmr33xIb0ghYTtW06LhNz8,31994
20
- cognite_toolkit/_cdf_tk/apps/_dump_app.py,sha256=Ec0aEqbKwCkxni09i06rfY31qZUyOVwbbvo7MHh4cf8,39056
20
+ cognite_toolkit/_cdf_tk/apps/_dump_app.py,sha256=ujM_umb-g9xO-Hf2NEzCr6u0SLnsUbxvQHvhehJBFo0,40616
21
21
  cognite_toolkit/_cdf_tk/apps/_landing_app.py,sha256=HxzSln3fJXs5NzulfQGUMropXcwMobUYpyePrCrQTQs,1502
22
22
  cognite_toolkit/_cdf_tk/apps/_migrate_app.py,sha256=g4S_53kbIgk57ziPLdRMuR6xUe434gkMqa69VmVm5Vg,39619
23
23
  cognite_toolkit/_cdf_tk/apps/_modules_app.py,sha256=95_H2zccRJl2mWn0oQ5mjCaEDnG63sPKOkB81IgWcIk,7637
@@ -302,13 +302,13 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
302
302
  cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
303
303
  cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
304
304
  cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
305
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=PjN9SjPDdv1gpMbLk4BENfZSsfvk1FcYm09Wi-GGoR0,668
306
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=7tIIyJNaWWVKWPUs6s4oSpsBBs14c1UzOSy-VpOn638,2431
307
- cognite_toolkit/_resources/cdf.toml,sha256=QLuQRCrDWpi6Z_YIAkV9LySofdxFW86-2YztdKmxUZw,488
305
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=a_46iFbHKFVtTSG94JW2WVJAMz37jDv-6-TpY6CNy3o,668
306
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=cVSBKRvJRYyuUIk9jJxRHlq2eqgqYS_O8V3JTXJkKFw,2431
307
+ cognite_toolkit/_resources/cdf.toml,sha256=H8z6SinwW4X2em4YbzS4Sqmu9RIF4DulHm6kfrC5RLk,488
308
308
  cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
309
309
  cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
310
- cognite_toolkit-0.6.115.dist-info/METADATA,sha256=F2AdvNhKV2uNNLV94cAmf1rq0Bj_huntJkH2OuoUqBQ,4502
311
- cognite_toolkit-0.6.115.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
312
- cognite_toolkit-0.6.115.dist-info/entry_points.txt,sha256=JlR7MH1_UMogC3QOyN4-1l36VbrCX9xUdQoHGkuJ6-4,83
313
- cognite_toolkit-0.6.115.dist-info/licenses/LICENSE,sha256=CW0DRcx5tL-pCxLEN7ts2S9g2sLRAsWgHVEX4SN9_Mc,752
314
- cognite_toolkit-0.6.115.dist-info/RECORD,,
310
+ cognite_toolkit-0.6.116.dist-info/METADATA,sha256=5-qZwwRh2_UO6KZ09QsM5etUMGICQzMiT4La7MS_1ag,4502
311
+ cognite_toolkit-0.6.116.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
312
+ cognite_toolkit-0.6.116.dist-info/entry_points.txt,sha256=JlR7MH1_UMogC3QOyN4-1l36VbrCX9xUdQoHGkuJ6-4,83
313
+ cognite_toolkit-0.6.116.dist-info/licenses/LICENSE,sha256=CW0DRcx5tL-pCxLEN7ts2S9g2sLRAsWgHVEX4SN9_Mc,752
314
+ cognite_toolkit-0.6.116.dist-info/RECORD,,