You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to do so, the current Jinja template will create the following code:
# declare any new dynamic parametersforvalue_1inupdated_params.params_to_mapped:
updated_params.my_params.add_entry(value_1)
# ...forvalue_1inupdated_params.params_to_mapped:
param_name=f"{self.prefix_}my_params.{value_1}.in_map_param"# ...# declare and set all dynamic parametersforvalue_1inupdated_params.params_to_mapped:
updated_params.my_params.add_entry(value_1)
While the expected output is:
# declare any new dynamic parametersforvalue_1inupdated_params.my_params.params_to_mapped:
updated_params.my_params.add_entry(value_1)
# ...forvalue_1inupdated_params.my_params.params_to_mapped:
param_name=f"{self.prefix_}my_params.{value_1}.in_map_param"# ...# declare and set all dynamic parametersforvalue_1inupdated_params.my_params.params_to_mapped:
updated_params.my_params.add_entry(value_1)
Namespace of my_params is not taken into account in for loops of the mapped values.
Currently, the library allows only top level map definitions. Something that would be nice is the option to create parameters in a following way.
With this yaml:
When attempting to do so, the current Jinja template will create the following code:
While the expected output is:
Namespace of
my_params
is not taken into account infor
loops of the mapped values.Topic initially started in #183.
The text was updated successfully, but these errors were encountered: