cognite-toolkit 0.7.30__py3-none-any.whl → 0.7.31__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.
@@ -13,8 +13,10 @@ from rich.panel import Panel
13
13
  from cognite_toolkit._cdf_tk.cdf_toml import CDFToml
14
14
  from cognite_toolkit._cdf_tk.client import ToolkitClient
15
15
  from cognite_toolkit._cdf_tk.commands import BuildCommand, CleanCommand, DeployCommand
16
+ from cognite_toolkit._cdf_tk.commands.build_v2.build_cmd import BuildCommand as BuildCommandV2
16
17
  from cognite_toolkit._cdf_tk.commands.clean import AVAILABLE_DATA_TYPES
17
18
  from cognite_toolkit._cdf_tk.exceptions import ToolkitFileNotFoundError
19
+ from cognite_toolkit._cdf_tk.feature_flags import Flags
18
20
  from cognite_toolkit._cdf_tk.utils import get_cicd_environment
19
21
  from cognite_toolkit._cdf_tk.utils.auth import EnvironmentVariables
20
22
  from cognite_toolkit._version import __version__ as current_version
@@ -207,7 +209,11 @@ class CoreApp(typer.Typer):
207
209
  if exit_on_warning:
208
210
  print_warning = False
209
211
 
210
- cmd = BuildCommand(print_warning=print_warning)
212
+ cmd = (
213
+ BuildCommandV2(print_warning=print_warning)
214
+ if Flags.v08.is_enabled()
215
+ else BuildCommand(print_warning=print_warning)
216
+ )
211
217
  cmd.run(
212
218
  lambda: cmd.execute(
213
219
  verbose,
@@ -24,6 +24,7 @@ __all__ = [
24
24
  "AboutCommand",
25
25
  "AuthCommand",
26
26
  "BuildCommand",
27
+ "BuildCommandV2",
27
28
  "CleanCommand",
28
29
  "CollectCommand",
29
30
  "DeployCommand",
File without changes
@@ -0,0 +1,241 @@
1
+ from pathlib import Path
2
+ from typing import Any, Literal, TypedDict
3
+
4
+ from rich import print
5
+ from rich.panel import Panel
6
+
7
+ from cognite_toolkit._cdf_tk.client import ToolkitClient
8
+ from cognite_toolkit._cdf_tk.commands._base import ToolkitCommand
9
+ from cognite_toolkit._cdf_tk.commands.build_cmd import BuildCommand as OldBuildCommand
10
+ from cognite_toolkit._cdf_tk.commands.build_v2.build_input import BuildInput
11
+ from cognite_toolkit._cdf_tk.commands.build_v2.build_issues import BuildIssue, BuildIssueList
12
+ from cognite_toolkit._cdf_tk.data_classes import (
13
+ BuildConfigYAML,
14
+ BuildVariables,
15
+ BuiltModuleList,
16
+ ModuleDirectories,
17
+ )
18
+ from cognite_toolkit._cdf_tk.exceptions import ToolkitError
19
+ from cognite_toolkit._cdf_tk.hints import verify_module_directory
20
+ from cognite_toolkit._cdf_tk.tk_warnings import ToolkitWarning, WarningList
21
+ from cognite_toolkit._cdf_tk.utils.file import safe_rmtree
22
+ from cognite_toolkit._cdf_tk.validation import validate_module_selection, validate_modules_variables
23
+ from cognite_toolkit._version import __version__
24
+
25
+
26
+ class BuildWarnings(TypedDict):
27
+ warning: ToolkitWarning
28
+ location: list[Path]
29
+
30
+
31
+ class BuildCommand(ToolkitCommand):
32
+ def __init__(self, print_warning: bool = True, skip_tracking: bool = False, silent: bool = False) -> None:
33
+ super().__init__(print_warning, skip_tracking, silent)
34
+ self.issues = BuildIssueList()
35
+
36
+ def execute(
37
+ self,
38
+ verbose: bool,
39
+ organization_dir: Path,
40
+ build_dir: Path,
41
+ selected: list[str | Path] | None,
42
+ build_env_name: str | None,
43
+ no_clean: bool,
44
+ client: ToolkitClient | None = None,
45
+ on_error: Literal["continue", "raise"] = "continue",
46
+ ) -> BuiltModuleList:
47
+ """
48
+ Build the resources into deployable artifacts in the build directory.
49
+ """
50
+
51
+ self.verbose = verbose
52
+ self.on_error = on_error
53
+
54
+ # Tracking the project and cluster for the build.
55
+ if client:
56
+ self._additional_tracking_info.project = client.config.project
57
+ self._additional_tracking_info.cluster = client.config.cdf_cluster
58
+
59
+ # Setting the parameters for the build.
60
+ input = BuildInput.load(organization_dir, build_dir, build_env_name, client, selected)
61
+
62
+ # Print the build input.
63
+ if self.verbose:
64
+ self._print_build_input(input)
65
+
66
+ # Capture warnings from module structure integrity
67
+ if module_selection_issues := self._validate_modules(input):
68
+ self.issues.extend(module_selection_issues)
69
+
70
+ # Logistics: clean and create build directory
71
+ if prepare_issues := self._prepare_target_directory(input, not no_clean):
72
+ self.issues.extend(prepare_issues)
73
+
74
+ # Compile the configuration and variables,
75
+ # check syntax on module and resource level
76
+ # for any "compilation errors and warnings"
77
+ built_modules, build_integrity_issues = self._build_configuration(input)
78
+ if build_integrity_issues:
79
+ self.issues.extend(build_integrity_issues)
80
+
81
+ # This is where we would add any recommendations for the user to improve the build.
82
+ if build_quality_issues := self._verify_build_quality(built_modules):
83
+ self.issues.extend(build_quality_issues)
84
+
85
+ # Finally, print warnings grouped by category/code and location.
86
+ self._print_or_log_warnings_by_category(self.issues)
87
+
88
+ return built_modules
89
+
90
+ def _print_build_input(self, input: BuildInput) -> None:
91
+ print(
92
+ Panel(
93
+ f"Building {input.organization_dir!s}:\n - Toolkit Version '{__version__!s}'\n"
94
+ f" - Environment name {input.build_env_name!r}, validation-type {input.config.environment.validation_type!r}.\n"
95
+ f" - Config '{input.config.filepath!s}'",
96
+ expand=False,
97
+ )
98
+ )
99
+
100
+ def _prepare_target_directory(self, input: BuildInput, clean: bool = False) -> BuildIssueList:
101
+ """
102
+ Directory logistics
103
+ """
104
+ issues = BuildIssueList()
105
+ if input.build_dir.exists() and any(input.build_dir.iterdir()):
106
+ if not clean:
107
+ raise ToolkitError("Build directory is not empty. Run without --no-clean to remove existing files.")
108
+
109
+ if self.verbose:
110
+ issues.append(BuildIssue(description=f"Build directory {input.build_dir!s} is not empty. Clearing."))
111
+ safe_rmtree(input.build_dir)
112
+ input.build_dir.mkdir(parents=True, exist_ok=True)
113
+ return issues
114
+
115
+ def _validate_modules(self, input: BuildInput) -> BuildIssueList:
116
+ issues = BuildIssueList()
117
+ # Verify that the modules exists, are not duplicates,
118
+ # and at least one is selected
119
+ verify_module_directory(input.organization_dir, input.build_env_name)
120
+
121
+ # Validate module selection
122
+ user_selected_modules = input.config.environment.get_selected_modules({})
123
+ module_warnings = validate_module_selection(
124
+ modules=input.modules,
125
+ config=input.config,
126
+ packages={},
127
+ selected_modules=user_selected_modules,
128
+ organization_dir=input.organization_dir,
129
+ )
130
+ if module_warnings:
131
+ issues.extend(BuildIssueList.from_warning_list(module_warnings))
132
+
133
+ # Validate variables. Note: this looks for non-replaced template
134
+ # variables <.*?> and can be improved in the future.
135
+ # Keeping for reference.
136
+ variables_warnings = validate_modules_variables(input.variables, input.config.filepath)
137
+ if variables_warnings:
138
+ issues.extend(BuildIssueList.from_warning_list(variables_warnings))
139
+
140
+ # Track LOC of managed configuration
141
+ # Note: _track is not implemented yet, so we skip it for now
142
+ # self._track(input)
143
+
144
+ return issues
145
+
146
+ def _build_configuration(self, input: BuildInput) -> tuple[BuiltModuleList, BuildIssueList]:
147
+ issues = BuildIssueList()
148
+ # Use input.modules.selected directly (it's already a ModuleDirectories)
149
+ if not input.modules.selected:
150
+ return BuiltModuleList(), issues
151
+
152
+ # first collect variables into practical lookup
153
+ # TODO: parallelism is not implemented yet. I'm sure there are optimizations to be had here, but we'll focus on process parallelism since we believe loading yaml and file i/O are the biggest bottlenecks.
154
+
155
+ old_build_command = OldBuildCommand(print_warning=False, skip_tracking=False)
156
+ built_modules = old_build_command.build_config(
157
+ build_dir=input.build_dir,
158
+ organization_dir=input.organization_dir,
159
+ config=input.config,
160
+ packages={},
161
+ clean=False,
162
+ verbose=self.verbose,
163
+ client=input.client,
164
+ progress_bar=False,
165
+ on_error=self.on_error,
166
+ )
167
+ # Copy tracking info from old command to self
168
+ self._additional_tracking_info.package_ids.update(old_build_command._additional_tracking_info.package_ids)
169
+ self._additional_tracking_info.module_ids.update(old_build_command._additional_tracking_info.module_ids)
170
+
171
+ # Collect warnings from the old build command and convert to issues
172
+ # Always convert warnings to issues, even if the list appears empty
173
+ # (WarningList might have custom __bool__ behavior)
174
+ if old_build_command.warning_list:
175
+ converted_issues = BuildIssueList.from_warning_list(old_build_command.warning_list)
176
+ issues.extend(converted_issues)
177
+ return built_modules, issues
178
+
179
+ def _verify_build_quality(self, built_modules: BuiltModuleList) -> BuildIssueList:
180
+ issues = BuildIssueList()
181
+ return issues
182
+
183
+ def _write(self, input: BuildInput) -> None:
184
+ # Write the build to the build directory.
185
+ # Track lines of code built.
186
+ raise NotImplementedError()
187
+
188
+ def _track(self, input: BuildInput) -> None:
189
+ raise NotImplementedError()
190
+
191
+ def _print_or_log_warnings_by_category(self, issues: BuildIssueList) -> None:
192
+ pass
193
+
194
+ # Delegate to old BuildCommand for backward compatibility with tests
195
+ def build_modules(
196
+ self,
197
+ modules: ModuleDirectories,
198
+ build_dir: Path,
199
+ variables: BuildVariables,
200
+ verbose: bool = False,
201
+ progress_bar: bool = False,
202
+ on_error: Literal["continue", "raise"] = "continue",
203
+ ) -> BuiltModuleList:
204
+ """Delegate to old BuildCommand for backward compatibility."""
205
+ old_cmd = OldBuildCommand()
206
+
207
+ built_modules = old_cmd.build_modules(modules, build_dir, variables, verbose, progress_bar, on_error)
208
+ self._additional_tracking_info.package_ids.update(old_cmd._additional_tracking_info.package_ids)
209
+ self._additional_tracking_info.module_ids.update(old_cmd._additional_tracking_info.module_ids)
210
+ self.issues.extend(BuildIssueList.from_warning_list(old_cmd.warning_list or WarningList[ToolkitWarning]()))
211
+ return built_modules
212
+
213
+ def build_config(
214
+ self,
215
+ build_dir: Path,
216
+ organization_dir: Path,
217
+ config: BuildConfigYAML,
218
+ packages: dict[str, list[str]],
219
+ clean: bool = False,
220
+ verbose: bool = False,
221
+ client: ToolkitClient | None = None,
222
+ progress_bar: bool = False,
223
+ on_error: Literal["continue", "raise"] = "continue",
224
+ ) -> BuiltModuleList:
225
+ """Delegate to old BuildCommand for backward compatibility."""
226
+ old_cmd = OldBuildCommand()
227
+ return old_cmd.build_config(
228
+ build_dir, organization_dir, config, packages, clean, verbose, client, progress_bar, on_error
229
+ )
230
+
231
+ def _replace_variables(
232
+ self,
233
+ resource_files: list[Path],
234
+ variables: BuildVariables,
235
+ resource_name: str,
236
+ module_dir: Path,
237
+ verbose: bool = False,
238
+ ) -> list[Any]:
239
+ """Delegate to old BuildCommand for backward compatibility."""
240
+ old_cmd = OldBuildCommand()
241
+ return old_cmd._replace_variables(resource_files, variables, resource_name, module_dir, verbose)
@@ -0,0 +1,85 @@
1
+ import sys
2
+ from functools import cached_property
3
+ from pathlib import Path
4
+
5
+ if sys.version_info >= (3, 11):
6
+ from typing import Self
7
+ else:
8
+ from typing_extensions import Self
9
+
10
+ from pydantic import BaseModel, ConfigDict
11
+
12
+ from cognite_toolkit._cdf_tk.client import ToolkitClient
13
+ from cognite_toolkit._cdf_tk.constants import DEFAULT_ENV
14
+ from cognite_toolkit._cdf_tk.data_classes import (
15
+ BuildConfigYAML,
16
+ BuildVariables,
17
+ ModuleDirectories,
18
+ )
19
+ from cognite_toolkit._cdf_tk.tk_warnings import ToolkitWarning, WarningList
20
+ from cognite_toolkit._cdf_tk.utils.modules import parse_user_selected_modules
21
+
22
+
23
+ class BuildInput(BaseModel):
24
+ """Input to the build process."""
25
+
26
+ # need this until we turn BuildConfigYaml and ToolkitClient into Pydantic models
27
+ model_config = ConfigDict(frozen=True, arbitrary_types_allowed=True)
28
+
29
+ organization_dir: Path
30
+ build_dir: Path
31
+ build_env_name: str
32
+ config: BuildConfigYAML
33
+ client: ToolkitClient | None = None
34
+ selected: list[str | Path] | None = None
35
+ warnings: WarningList[ToolkitWarning] | None = None
36
+
37
+ @classmethod
38
+ def load(
39
+ cls,
40
+ organization_dir: Path,
41
+ build_dir: Path,
42
+ build_env_name: str | None,
43
+ client: ToolkitClient | None,
44
+ selected: list[str | Path] | None = None,
45
+ ) -> Self:
46
+ resolved_org_dir = Path.cwd() if organization_dir in {Path("."), Path("./")} else organization_dir
47
+ resolved_env = build_env_name or DEFAULT_ENV
48
+ config, warnings = cls._load_config(resolved_org_dir, resolved_env, selected)
49
+ return cls(
50
+ organization_dir=resolved_org_dir,
51
+ build_dir=build_dir,
52
+ build_env_name=resolved_env,
53
+ config=config,
54
+ client=client,
55
+ selected=selected,
56
+ warnings=warnings,
57
+ )
58
+
59
+ @classmethod
60
+ def _load_config(
61
+ cls, organization_dir: Path, build_env_name: str, selected: list[str | Path] | None
62
+ ) -> tuple[BuildConfigYAML, WarningList[ToolkitWarning]]:
63
+ warnings: WarningList[ToolkitWarning] = WarningList[ToolkitWarning]()
64
+ if (organization_dir / BuildConfigYAML.get_filename(build_env_name or DEFAULT_ENV)).exists():
65
+ config = BuildConfigYAML.load_from_directory(organization_dir, build_env_name or DEFAULT_ENV)
66
+ else:
67
+ # Loads the default environment
68
+ config = BuildConfigYAML.load_default(organization_dir)
69
+ if selected:
70
+ config.environment.selected = parse_user_selected_modules(selected, organization_dir)
71
+ config.set_environment_variables()
72
+ if environment_warning := config.validate_environment():
73
+ warnings.append(environment_warning)
74
+ return config, warnings
75
+
76
+ @cached_property
77
+ def modules(self) -> ModuleDirectories:
78
+ user_selected_modules = self.config.environment.get_selected_modules({})
79
+ return ModuleDirectories.load(self.organization_dir, user_selected_modules)
80
+
81
+ @cached_property
82
+ def variables(self) -> BuildVariables:
83
+ return BuildVariables.load_raw(
84
+ self.config.variables, self.modules.available_paths, self.modules.selected.available_paths
85
+ )
@@ -0,0 +1,27 @@
1
+ import sys
2
+
3
+ if sys.version_info >= (3, 11):
4
+ from typing import Self
5
+ else:
6
+ from typing_extensions import Self
7
+
8
+ from collections import UserList
9
+
10
+ from pydantic import BaseModel
11
+
12
+ from cognite_toolkit._cdf_tk.tk_warnings import ToolkitWarning, WarningList
13
+
14
+
15
+ class BuildIssue(BaseModel):
16
+ """Issue with the build. Can have a recommendation for the user to improve the build."""
17
+
18
+ description: str
19
+
20
+
21
+ class BuildIssueList(UserList[BuildIssue]):
22
+ """List of build issues."""
23
+
24
+ @classmethod
25
+ def from_warning_list(cls, warning_list: WarningList[ToolkitWarning]) -> Self:
26
+ """Create a BuildIssueList from a WarningList."""
27
+ return cls([BuildIssue(description=warning.get_message()) for warning in warning_list])
@@ -26,6 +26,8 @@
26
26
  # limitations under the License.
27
27
 
28
28
 
29
+ import random
30
+ import time
29
31
  import warnings
30
32
  from collections import defaultdict
31
33
  from collections.abc import Callable, Hashable, Iterable, Sequence
@@ -427,25 +429,58 @@ class TransformationCRUD(ResourceCRUD[str, TransformationWrite, Transformation])
427
429
  raise error from e
428
430
  raise e
429
431
  except CogniteAPIError as e:
430
- if "Failed to bind session using nonce for" in e.message and len(chunk) > 1:
431
- MediumSeverityWarning(
432
- f"Failed to create {len(chunk)} transformations in a batch due to nonce binding error. "
433
- "Trying to recover by creating them one by one."
434
- ).print_warning(console=self.console)
435
- # Retry one by one
436
- for item in chunk:
437
- recovered = self._execute_in_batches(items=[item], api_call=api_call)
438
- results.extend(recovered)
439
- if self.console:
440
- self.console.print(
441
- f" [bold green]RECOVERED:[/] Successfully created {len(chunk)} transformations one by one."
442
- )
432
+ if "Failed to bind session using nonce" in e.message and len(chunk) > 1:
433
+ results.extend(self._execute_one_by_one(chunk, api_call))
443
434
  else:
444
435
  raise
445
436
  else:
446
437
  results.extend(chunk_results)
447
438
  return results
448
439
 
440
+ def _execute_one_by_one(
441
+ self,
442
+ chunk: Sequence[TransformationWrite],
443
+ api_call: Callable[[Sequence[TransformationWrite]], TransformationList],
444
+ ) -> TransformationList:
445
+ MediumSeverityWarning(
446
+ f"Failed to create {len(chunk)} transformations in a batch due to nonce binding error. "
447
+ "Trying to recover by creating them one by one."
448
+ ).print_warning(console=self.client.console)
449
+ # Retry one by one
450
+ failed_ids: list[str] = []
451
+ success_count = 0
452
+ delay = 0.3
453
+ self._sleep_with_jitter(delay, delay + 0.3)
454
+ results = TransformationList([])
455
+ for item in chunk:
456
+ try:
457
+ recovered = api_call([item])
458
+ except CogniteAPIError as e:
459
+ if "Failed to bind session using nonce" in e.message:
460
+ failed_ids.append(item.external_id or "<missing>")
461
+ self._sleep_with_jitter(delay, delay + 0.3)
462
+ else:
463
+ raise
464
+ else:
465
+ results.extend(recovered)
466
+ success_count += 1
467
+ message = f" [bold]RECOVERY COMPLETE:[/] Successfully created {success_count:,} transformations"
468
+ if failed_ids:
469
+ message += f", failed to create {len(failed_ids):,} transformations: {humanize_collection(failed_ids)}"
470
+ else:
471
+ message += "."
472
+ if failed_ids:
473
+ HighSeverityWarning(message).print_warning(include_timestamp=True, console=self.client.console)
474
+ else:
475
+ self.client.console.print(message)
476
+ return results
477
+
478
+ @staticmethod
479
+ def _sleep_with_jitter(base_delay: float, max_delay: float) -> None:
480
+ """Sleeps for a random duration between base_delay and max_delay (inclusive)."""
481
+ sleep_time = random.uniform(base_delay, max_delay)
482
+ time.sleep(sleep_time)
483
+
449
484
  def _update_nonce(self, items: Sequence[TransformationWrite]) -> None:
450
485
  for item in items:
451
486
  if not item.external_id:
@@ -12,7 +12,7 @@ jobs:
12
12
  environment: dev
13
13
  name: Deploy
14
14
  container:
15
- image: cognite/toolkit:0.7.30
15
+ image: cognite/toolkit:0.7.31
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.7.30
13
+ image: cognite/toolkit:0.7.31
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.7.30"
7
+ version = "0.7.31"
8
8
 
9
9
 
10
10
  [plugins]
@@ -1 +1 @@
1
- __version__ = "0.7.30"
1
+ __version__ = "0.7.31"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite_toolkit
3
- Version: 0.7.30
3
+ Version: 0.7.31
4
4
  Summary: Official Cognite Data Fusion tool for project templates and configuration deployment
5
5
  Author: Cognite AS
6
6
  Author-email: Cognite AS <support@cognite.com>
@@ -3,7 +3,7 @@ cognite_toolkit/_cdf.py,sha256=sefGD2JQuOTBZhEqSj_ECbNZ7nTRN4AwGwX1pSUhoow,5636
3
3
  cognite_toolkit/_cdf_tk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  cognite_toolkit/_cdf_tk/apps/__init__.py,sha256=KKmhbpvPKTwqQS2g_XqAC2yvtPsvdl8wV5TgJA3zqhs,702
5
5
  cognite_toolkit/_cdf_tk/apps/_auth_app.py,sha256=ER7uYb3ViwsHMXiQEZpyhwU6TIjKaB9aEy32VI4MPpg,3397
6
- cognite_toolkit/_cdf_tk/apps/_core_app.py,sha256=YK0MOK7Tv3cDSe5_6o9GtM5n_6sE7I0Wm-Se4eJnyNM,13744
6
+ cognite_toolkit/_cdf_tk/apps/_core_app.py,sha256=BiY7GWInq0INa7uCiGQyt4cBs1Eguyr5BBCW14JHo3I,14018
7
7
  cognite_toolkit/_cdf_tk/apps/_data_app.py,sha256=LeplXlxXtyIymRPgbatQrRFodU4VZBFxI0bqDutLSbg,806
8
8
  cognite_toolkit/_cdf_tk/apps/_dev_app.py,sha256=FaY67PFdKwdiMKgJbTcjHT1X2Xfbog2PKL6T-kcawyc,2818
9
9
  cognite_toolkit/_cdf_tk/apps/_download_app.py,sha256=2nPn9P_9br9poynSpKKSZF7WYTYT--BfxlxXkSEeH-8,41156
@@ -93,7 +93,7 @@ cognite_toolkit/_cdf_tk/client/testing.py,sha256=mXqEXPMZcbETrXBn6D-SiAcjD7xAkuu
93
93
  cognite_toolkit/_cdf_tk/client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
94
  cognite_toolkit/_cdf_tk/client/utils/_concurrency.py,sha256=3GtQbKDaosyKHEt-KzxKK9Yie4TvZPdoou2vUk6dUa8,2298
95
95
  cognite_toolkit/_cdf_tk/client/utils/_http_client.py,sha256=oXNKrIaizG4WiSAhL_kSCHAuL4aaaEhCU4pOJGxh6Xs,483
96
- cognite_toolkit/_cdf_tk/commands/__init__.py,sha256=wXRbOwMyhGjMj83_bXTOUXtCh70YS4-eiYzzCMN_YOs,1390
96
+ cognite_toolkit/_cdf_tk/commands/__init__.py,sha256=g-k-P7jWUVzDM0iIBlq9kXdAs_dlGji3NxYEEmTv0L8,1412
97
97
  cognite_toolkit/_cdf_tk/commands/_base.py,sha256=1gl8Y-yqfedRMfdbwM3iPTIUIZriX1UvC1deLsJSJwM,2667
98
98
  cognite_toolkit/_cdf_tk/commands/_changes.py,sha256=sU0KaTtPVSJgAZcaZ1Tkcajj36pmhd13kh7V8QbIED8,22987
99
99
  cognite_toolkit/_cdf_tk/commands/_cli_commands.py,sha256=TK6U_rm6VZT_V941kTyHMoulWgJzbDC8YIIQDPJ5x3w,1011
@@ -119,6 +119,10 @@ cognite_toolkit/_cdf_tk/commands/_virtual_env.py,sha256=GFAid4hplixmj9_HkcXqU5yC
119
119
  cognite_toolkit/_cdf_tk/commands/about.py,sha256=pEXNdCeJYONOalH8x-7QRsKLgj-9gdIqN16pPxA3bhg,9395
120
120
  cognite_toolkit/_cdf_tk/commands/auth.py,sha256=TX_8YuVCjMVIQjEdfBE66bSDrojJhCnxf_jcT3-9wM8,32550
121
121
  cognite_toolkit/_cdf_tk/commands/build_cmd.py,sha256=c_4S9cZZYxXs2gXZVAEFlPRLZQK_hpCzEMNN1Zoua_o,28284
122
+ cognite_toolkit/_cdf_tk/commands/build_v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
123
+ cognite_toolkit/_cdf_tk/commands/build_v2/build_cmd.py,sha256=U69tPVVWGxMD-FwwTf60pE2gL8MgD0J5wcrVWfmHiME,10146
124
+ cognite_toolkit/_cdf_tk/commands/build_v2/build_input.py,sha256=wHTtUl0OrtNadBZm-i9Ju3zjV7Y6Asth4XuLFZ48qww,3197
125
+ cognite_toolkit/_cdf_tk/commands/build_v2/build_issues.py,sha256=xx11FtNbVfgO4mHgyPbe4m1veYZW_1NDgs8J2PKFa58,739
122
126
  cognite_toolkit/_cdf_tk/commands/clean.py,sha256=JNPIjNSiOJaP-cUhFzT8H3s30luA9lI39yH18QxHaYM,16603
123
127
  cognite_toolkit/_cdf_tk/commands/collect.py,sha256=zBMKhhvjOpuASMnwP0eeHRI02tANcvFEZgv0CQO1ECc,627
124
128
  cognite_toolkit/_cdf_tk/commands/deploy.py,sha256=DpA6q0f17qCpsrYUywavvaRjJ-qaIm78ukw8kIfCNbg,23262
@@ -155,7 +159,7 @@ cognite_toolkit/_cdf_tk/cruds/_resource_cruds/robotics.py,sha256=IeDks5yJFta8Tp4
155
159
  cognite_toolkit/_cdf_tk/cruds/_resource_cruds/streams.py,sha256=1GAIn6G3ZC11ZAgRW-HKaJltMhIqSKH6_ttdEMGgFN0,3054
156
160
  cognite_toolkit/_cdf_tk/cruds/_resource_cruds/three_d_model.py,sha256=5jIRF2JqosVHyAi2Ek6H38K2FWcNqrbPOR6MTSIEAQI,7320
157
161
  cognite_toolkit/_cdf_tk/cruds/_resource_cruds/timeseries.py,sha256=rMkA78K9CZqUu7YBDiLgnaZgPcIsWdT-J3nB4xwCJWw,23032
158
- cognite_toolkit/_cdf_tk/cruds/_resource_cruds/transformation.py,sha256=ndhoGIC6tBjNmwI0wDfg8v_6dJfCnHUnTienYOtKwC8,33876
162
+ cognite_toolkit/_cdf_tk/cruds/_resource_cruds/transformation.py,sha256=oDgscEy6ybc3k1ZDg8S0vky1YnO895fyKV0hcgQM3Nk,35136
159
163
  cognite_toolkit/_cdf_tk/cruds/_resource_cruds/workflow.py,sha256=dVkf7OpZHV2H7V3zRU4BzUqDxgAudiWBJPvGeydATCg,26035
160
164
  cognite_toolkit/_cdf_tk/cruds/_worker.py,sha256=QeZjziBCePilyI4WfTZvLfSHGT3qJGCMhugsoO1SVtU,9285
161
165
  cognite_toolkit/_cdf_tk/data_classes/__init__.py,sha256=4zL-zR3lgQTCWfcy28LK0HEcukQOndPEFXVqfYfdKHU,1720
@@ -303,14 +307,14 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
303
307
  cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
304
308
  cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
305
309
  cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
306
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=q-j7m5jzwukdCe24nbPBJa0hNHJxTAxtPOY7ha0Xe9g,667
307
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=9ndXgumGwzP6mfp9UwGnOXYn7fBrBtaCctb0bDqYdmY,2430
308
- cognite_toolkit/_resources/cdf.toml,sha256=TNXoSuq1jrJBhSONJ48vefOBO_dURtlIFXhLlv4dzMk,475
309
- cognite_toolkit/_version.py,sha256=4c9Y6kqbBff_PtGI0UeOh2f4HPFaCOvIx0KdnuUqM7c,23
310
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=Ft9lViXmay2AajHAwOiFbP1BYBIlVHvxu56qFQlN9Zk,667
311
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=_gR9FBSVup2h_P2iTlKRvnxV5kdRMZFvHLo-fK6o_Zc,2430
312
+ cognite_toolkit/_resources/cdf.toml,sha256=3YM8T2ivUqrfocBzLTYRWCWyeYXyXfM7wRSY1Zxa7k8,475
313
+ cognite_toolkit/_version.py,sha256=CtvyqFRtdJwNvYSDVmaT9l1R18bsaIwflR8r696jttk,23
310
314
  cognite_toolkit/config.dev.yaml,sha256=M33FiIKdS3XKif-9vXniQ444GTZ-bLXV8aFH86u9iUQ,332
311
315
  cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
312
316
  cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
313
- cognite_toolkit-0.7.30.dist-info/WHEEL,sha256=93kfTGt3a0Dykt_T-gsjtyS5_p8F_d6CE1NwmBOirzo,79
314
- cognite_toolkit-0.7.30.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
315
- cognite_toolkit-0.7.30.dist-info/METADATA,sha256=OjW7tHXDbDtK77GcEKqrnbXyQZD5FgMnpvOrYjhrUDA,4507
316
- cognite_toolkit-0.7.30.dist-info/RECORD,,
317
+ cognite_toolkit-0.7.31.dist-info/WHEEL,sha256=93kfTGt3a0Dykt_T-gsjtyS5_p8F_d6CE1NwmBOirzo,79
318
+ cognite_toolkit-0.7.31.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
319
+ cognite_toolkit-0.7.31.dist-info/METADATA,sha256=lOFzBCcUEoVSZjcxZh685Mb3FTEhTlrZTN6XXlrlJ4A,4507
320
+ cognite_toolkit-0.7.31.dist-info/RECORD,,