cognite-toolkit 0.7.51__py3-none-any.whl → 0.7.52__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.
@@ -540,13 +540,14 @@ class BuildCommand(ToolkitCommand):
540
540
  continue
541
541
  elif client and self._check_resource_exists_in_cdf(client, loader_cls, id_):
542
542
  continue
543
- elif loader_cls.resource_cls is RawDatabase:
544
- # Raw Databases are automatically created when a Raw Table is created.
545
- continue
546
- required_by = {
547
- (required, path.relative_to(project_config_dir))
548
- for required, path in self._dependencies_by_required[(loader_cls, id_)]
549
- }
543
+ required_by: set[tuple[Hashable, Path]] = set()
544
+ for required, path in self._dependencies_by_required[(loader_cls, id_)]:
545
+ if path.name.endswith(RawTableCRUD.kind) and loader_cls is RawDatabaseCRUD:
546
+ # RAW Databases are automatically created when a Raw Table is created.
547
+ continue
548
+ relative_path = path.relative_to(project_config_dir)
549
+
550
+ required_by.add((required, relative_path))
550
551
  has_checked_cdf = client is not None
551
552
  self.warn(MissingDependencyWarning(loader_cls.resource_cls.__name__, id_, required_by, has_checked_cdf))
552
553
 
@@ -12,7 +12,7 @@ jobs:
12
12
  environment: dev
13
13
  name: Deploy
14
14
  container:
15
- image: cognite/toolkit:0.7.51
15
+ image: cognite/toolkit:0.7.52
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.51
13
+ image: cognite/toolkit:0.7.52
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.51"
7
+ version = "0.7.52"
8
8
 
9
9
 
10
10
  [plugins]
@@ -1 +1 @@
1
- __version__ = "0.7.51"
1
+ __version__ = "0.7.52"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite_toolkit
3
- Version: 0.7.51
3
+ Version: 0.7.52
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>
@@ -242,7 +242,7 @@ cognite_toolkit/_cdf_tk/commands/_utils.py,sha256=UxMJW5QYKts4om5n6x2Tq2ihvfO9gW
242
242
  cognite_toolkit/_cdf_tk/commands/_virtual_env.py,sha256=GFAid4hplixmj9_HkcXqU5yCLj-fTXm4cloGD6U2swY,2180
243
243
  cognite_toolkit/_cdf_tk/commands/about.py,sha256=pEXNdCeJYONOalH8x-7QRsKLgj-9gdIqN16pPxA3bhg,9395
244
244
  cognite_toolkit/_cdf_tk/commands/auth.py,sha256=TX_8YuVCjMVIQjEdfBE66bSDrojJhCnxf_jcT3-9wM8,32550
245
- cognite_toolkit/_cdf_tk/commands/build_cmd.py,sha256=vpEEf9plCeY1OJnvm4P38wsqVLLSVH00TMjpwAHw-IY,28970
245
+ cognite_toolkit/_cdf_tk/commands/build_cmd.py,sha256=NuHbOj0xMbyuESlP716GHZuD1IY-OMoSaTtx0NUnVmk,29092
246
246
  cognite_toolkit/_cdf_tk/commands/build_v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
247
247
  cognite_toolkit/_cdf_tk/commands/build_v2/_module_parser.py,sha256=B_Ddt8oB3tWto0Ocja9kvWaoIZyt8Oa-ukuoptQBYww,5916
248
248
  cognite_toolkit/_cdf_tk/commands/build_v2/_modules_parser.py,sha256=se9IhfwtbvWusqNeN2BzDnUEK3j97sN4Yugoh5xlc5U,6782
@@ -432,14 +432,14 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
432
432
  cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
433
433
  cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
434
434
  cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
435
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=3K9DCSzOO1xqbQxhpfVfpvA9dYUEjseeK6DuLkVvdpQ,667
436
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=tID_WryVZoCumE5DAOXx-qG_5_i8qd-SFsBNStBeock,2430
437
- cognite_toolkit/_resources/cdf.toml,sha256=LM6zJL52mkI_lBm3_JL4Dy5xXI5Z7VvtxcBspa6qjDA,475
438
- cognite_toolkit/_version.py,sha256=I4qtlZ6cCOsrtFWWncRAhM8aa4fioEzk6cvfsMrrTmg,23
435
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=xy_q_7MzPwjNb9E76l4uLlB6lin4xoBB6uH3IDkIZqQ,667
436
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=anDBld8WwyrcTrZ1nxIPiZMjtglHi7A5DU_xWPDEwh4,2430
437
+ cognite_toolkit/_resources/cdf.toml,sha256=IRD27JLKpdtIwxDb-Gx4a044jvdvJ81rWooGxX7n-yA,475
438
+ cognite_toolkit/_version.py,sha256=a-nEs8L7fsmTx0R5cwwxN_EGLwgnVE5B6NGA6iRovfE,23
439
439
  cognite_toolkit/config.dev.yaml,sha256=M33FiIKdS3XKif-9vXniQ444GTZ-bLXV8aFH86u9iUQ,332
440
440
  cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
441
441
  cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
442
- cognite_toolkit-0.7.51.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
443
- cognite_toolkit-0.7.51.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
444
- cognite_toolkit-0.7.51.dist-info/METADATA,sha256=wdWMHXbcZj6VOVK4fLVwcpyN0wyG81Q9XPT0iEuAWP0,5026
445
- cognite_toolkit-0.7.51.dist-info/RECORD,,
442
+ cognite_toolkit-0.7.52.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
443
+ cognite_toolkit-0.7.52.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
444
+ cognite_toolkit-0.7.52.dist-info/METADATA,sha256=vonl6M9nNo9tU-nQZ8sQ5uwdbt-5St5rfU-CxvbCv3A,5026
445
+ cognite_toolkit-0.7.52.dist-info/RECORD,,