cloud-radar 0.15.0a0__tar.gz → 0.15.0a1__tar.gz
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.
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/PKG-INFO +1 -1
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/pyproject.toml +1 -1
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_template.py +12 -4
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/LICENSE.txt +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/README.md +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/__init__.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/__init__.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/e2e/__init__.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/e2e/_stack.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/__init__.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_condition.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_hooks.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_output.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_parameter.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_resource.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/_stack.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/functions.py +0 -0
- {cloud_radar-0.15.0a0 → cloud_radar-0.15.0a1}/src/cloud_radar/cf/unit/test__template.py +0 -0
@@ -232,7 +232,6 @@ class Template:
|
|
232
232
|
return {**functions.ALL_FUNCTIONS, **transform_functions}
|
233
233
|
|
234
234
|
if isinstance(self.transforms, list):
|
235
|
-
|
236
235
|
transform_functions = {}
|
237
236
|
|
238
237
|
for transform in self.transforms:
|
@@ -505,8 +504,14 @@ class Template:
|
|
505
504
|
|
506
505
|
t_params: dict = self.template["Parameters"]
|
507
506
|
|
508
|
-
|
509
|
-
|
507
|
+
params_not_in_template = set(parameters) - set(t_params)
|
508
|
+
if params_not_in_template:
|
509
|
+
raise ValueError(
|
510
|
+
(
|
511
|
+
"You supplied one or more Parameters that were not in the "
|
512
|
+
f"Template - {params_not_in_template}"
|
513
|
+
)
|
514
|
+
)
|
510
515
|
|
511
516
|
for p_name, p_value in t_params.items():
|
512
517
|
if p_name in parameters:
|
@@ -519,7 +524,10 @@ class Template:
|
|
519
524
|
|
520
525
|
if "Default" not in p_value:
|
521
526
|
raise ValueError(
|
522
|
-
|
527
|
+
(
|
528
|
+
f'Must provide values for parameter "{p_name}" '
|
529
|
+
"that does not have a default value."
|
530
|
+
)
|
523
531
|
)
|
524
532
|
|
525
533
|
t_params[p_name]["Value"] = p_value["Default"]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|