Skip to content

Commit

Permalink
Fix map generation for python
Browse files Browse the repository at this point in the history
Signed-off-by: Kotochleb <krzy.wojciecho@gmail.com>
  • Loading branch information
Kotochleb committed Mar 19, 2024
1 parent 9f1fc8f commit 0095985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% for mapped_param in mapped_params -%}
{%- filter indent(width=4*loop.index0) %}
for value_{{loop.index}} in updated_params.{{mapped_param}}:
for value_{{loop.index}} in updated_params.{{struct_name}}{% for map in parameter_map%}{% endfor %}.{{mapped_param}}:
{%- endfilter -%}
{% endfor -%}
{%- filter indent(width=4*(mapped_params|length)) %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% for mapped_param in mapped_params -%}
{%- filter indent(width=4*loop.index) %}
for value_{{loop.index}} in updated_params.{{mapped_param}}:
for value_{{loop.index}} in updated_params.{{struct_name}}{% for map in parameter_map%}{% endfor %}.{{mapped_param}}:
{%- endfilter -%}
{% endfor -%}
{%- filter indent(width=4*(1+mapped_params|length)) %}
Expand Down

0 comments on commit 0095985

Please # to comment.