Project

General

Profile

Actions

Bug #20234

closed

Documentation about collection access in jinja2 template is incorect

Added by François ARMAND over 2 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Docs https://docs.rudder.io/reference/6.2/usage/variables.html#_file_content_templates_and_edition (for jinja2 paragraph) says:

{% for key,value in vars.prefix.dict %}

While it should be:

{% for key,value in vars.prefix.dict.items() %}

See jinja2 doc: https://jinja.palletsprojects.com/en/2.11.x/templates/#for


Subtasks 1 (0 open1 closed)

Bug #20235: Add link to our rudder by example tuto for file editing in variable partReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF