1
0
angie-conv-image/angie/j2cfg.dist/core-worker-env.txt.j2
2024-07-31 14:04:15 +03:00

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 %}