9 lines
388 B
Django/Jinja
9 lines
388 B
Django/Jinja
{#- prologue -#}
|
|
{%- set c_env = ( j2cfg.core_worker_env or [] ) | any_to_env_dict -%}
|
|
{%- set c_vars = c_env | dict_keys -%}
|
|
{%- set c_vars_passthrough = c_env | dict_empty_keys -%}
|
|
{%- set vars_passthrough = ((env_passthrough | list_diff(c_vars)) + c_vars_passthrough) | uniq | list_intersect(env | dict_keys) -%}
|
|
{#- main part -#}
|
|
{%- for k in vars_passthrough %}
|
|
{{ k }}
|
|
{%- endfor %} |