[VVP] Exempt output section from nested get_param check
[vvp/validation-scripts.git] / ice_validator / tests / test_nested_parameter_args.py
index 9f5e0bb..378d12f 100644 (file)
@@ -53,6 +53,8 @@ class GetParamChecker:
     def __call__(self, keys, param_value, *args, **kwargs):
         if isinstance(param_value, str):
             return  # refers to a string or parameter - this is OK
+        if "outputs" in keys:
+            return  # output section is exempt from this requirement
         if isinstance(param_value, list):
             nested_get_params = (arg for arg in param_value if is_get_param(arg))
             args = (call["get_param"] for call in nested_get_params)