Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
291 B
SQL
14 lines
291 B
SQL
|
|
{% macro dict_from_list(el_list) %}
|
|
|
|
{% if el_list is none %}
|
|
{{ return (none) }}
|
|
{% endif %}
|
|
|
|
{% set for_cols_dict = {} %}
|
|
{% for col in el_list %}
|
|
{% do for_cols_dict.update({col: True})%}
|
|
{% endfor %}
|
|
{% do return(for_cols_dict) %}
|
|
|
|
{% endmacro %} |