cognite-toolkit 0.7.41__py3-none-any.whl → 0.7.42__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.
@@ -93,10 +93,19 @@ class DynamicTaskParameters(BaseModelResource):
93
93
  dynamic: DynamicRef = Field(description="Reference to another task to use as the definition for this task.")
94
94
 
95
95
 
96
- class SubworkflowRef(BaseModelResource):
97
- tasks: "WorkflowVersionId | list[Task]" = Field(
98
- description="Reference to the subworkflow to execute. This can be either a reference to an existing workflow version or an inline definition of tasks."
99
- )
96
+ class SubworkflowInlineTasks(BaseModelResource):
97
+ """Inline definition of tasks for a subworkflow."""
98
+
99
+ tasks: "list[Task]" = Field(description="Inline definition of tasks for the subworkflow.")
100
+
101
+
102
+ # SubworkflowRef can be either a reference to an existing workflow version OR an inline definition of tasks
103
+ SubworkflowRef = Annotated[
104
+ WorkflowVersionId | SubworkflowInlineTasks,
105
+ Field(
106
+ description="Reference to the subworkflow to execute. This can be either a reference to an existing workflow version (with workflowExternalId and version) or an inline definition of tasks."
107
+ ),
108
+ ]
100
109
 
101
110
 
102
111
  class SubworkflowTaskParameters(BaseModelResource):
@@ -12,7 +12,7 @@ jobs:
12
12
  environment: dev
13
13
  name: Deploy
14
14
  container:
15
- image: cognite/toolkit:0.7.41
15
+ image: cognite/toolkit:0.7.42
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.41
13
+ image: cognite/toolkit:0.7.42
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.41"
7
+ version = "0.7.42"
8
8
 
9
9
 
10
10
  [plugins]
@@ -1 +1 @@
1
- __version__ = "0.7.41"
1
+ __version__ = "0.7.42"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite_toolkit
3
- Version: 0.7.41
3
+ Version: 0.7.42
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>
@@ -259,7 +259,7 @@ cognite_toolkit/_cdf_tk/resource_classes/view_field_definitions.py,sha256=2fIrIs
259
259
  cognite_toolkit/_cdf_tk/resource_classes/views.py,sha256=X3uC0E0CsvYHWZQZjXh0PhjpDgLrnmwq-r0GMmZACnI,3518
260
260
  cognite_toolkit/_cdf_tk/resource_classes/workflow.py,sha256=fMNfW93D8tdVwO7YgEYYiYvpktSMx4i0viIFg0gD2VY,512
261
261
  cognite_toolkit/_cdf_tk/resource_classes/workflow_trigger.py,sha256=aSN0WFPupQ383A7RT-0Monw-inkVdYYSsK3UwHXW1HA,5216
262
- cognite_toolkit/_cdf_tk/resource_classes/workflow_version.py,sha256=anoDnl8lk8Xa9T2FwpjQ5TrrCMnR4QDjdDxo2OAcKTs,9850
262
+ cognite_toolkit/_cdf_tk/resource_classes/workflow_version.py,sha256=ZCn7xJyTEQCjWbvceny6yJYhqFcS64LbR228dbGjLXI,10195
263
263
  cognite_toolkit/_cdf_tk/storageio/__init__.py,sha256=h5Wr4i7zNIgsslrsRJxmp7ls4bNRKl0uZzQ7GLRMP7g,1920
264
264
  cognite_toolkit/_cdf_tk/storageio/_annotations.py,sha256=QcFrikDgz-9VjNy4Xq7wchM4VOQh-z2JaHcWR2C1sEs,4879
265
265
  cognite_toolkit/_cdf_tk/storageio/_applications.py,sha256=yJoCNgNJtSMo5THiaVkbbSiznOw7rZKpivREuj9oCME,19700
@@ -322,14 +322,14 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
322
322
  cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
323
323
  cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
324
324
  cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
325
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=vU5axvxU23UHv1jlWp2G30HAL1u2TcJ1j9OC3Wi836U,667
326
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=7mTyCl1ijNBsQdHzdPwURK5PWlZF-BguxmiBEcGWsto,2430
327
- cognite_toolkit/_resources/cdf.toml,sha256=F0suS-sTyzcPCGKxQZOaORNrSqGAFbfVtehpbiUU78k,475
328
- cognite_toolkit/_version.py,sha256=h4pIxiUzLA3N0vLHe7RWZdbQ0eyLS_C3FlNbahA3Dxc,23
325
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=wtIwFnax5BNzZioYDb_vV5OKOieuBibdorq-6jweR7w,667
326
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=nh4Mu2cJR1VbKhkOXuUYKL4-WtwgycVrtnqwHwprgdE,2430
327
+ cognite_toolkit/_resources/cdf.toml,sha256=pX8HqIE_SYGqZxKx3ffFt2wMsvTz2JkFaB17XnTtXjM,475
328
+ cognite_toolkit/_version.py,sha256=y9GOZrwOTLDEl7lJRp5LYWv4_E5ll0xZeTiY0cJ7Y_k,23
329
329
  cognite_toolkit/config.dev.yaml,sha256=M33FiIKdS3XKif-9vXniQ444GTZ-bLXV8aFH86u9iUQ,332
330
330
  cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
331
331
  cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
332
- cognite_toolkit-0.7.41.dist-info/WHEEL,sha256=KSLUh82mDPEPk0Bx0ScXlWL64bc8KmzIPNcpQZFV-6E,79
333
- cognite_toolkit-0.7.41.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
334
- cognite_toolkit-0.7.41.dist-info/METADATA,sha256=ooWYd_X2bh0cxW5IlYxFhOwWCE2aAtNRHMRWaTWYPB8,4507
335
- cognite_toolkit-0.7.41.dist-info/RECORD,,
332
+ cognite_toolkit-0.7.42.dist-info/WHEEL,sha256=KSLUh82mDPEPk0Bx0ScXlWL64bc8KmzIPNcpQZFV-6E,79
333
+ cognite_toolkit-0.7.42.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
334
+ cognite_toolkit-0.7.42.dist-info/METADATA,sha256=3p4x7WEjjI3ftknbM3gD2r_WFcbdfo5i8KFzbOeJFPU,4507
335
+ cognite_toolkit-0.7.42.dist-info/RECORD,,