File: package.jinja2

package info (click to toggle)
python-xsdata 26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,200 kB
  • sloc: python: 31,234; xml: 422; makefile: 20; sh: 6
file content (14 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% include "imports.jinja2" %}
__all__ = [
{%- for source, items in imports|groupby("source") -%}
{%- for item in items %}
    "
    {%- if item.alias %}
        {{- item.alias|class_name -}}
    {% else %}
        {{- item.name|class_name -}}
    {% endif -%}
    ",
{%- endfor %}
{%- endfor %}
]