File: package.jinja2

package info (click to toggle)
python-xsdata 24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,936 kB
  • sloc: python: 29,257; xml: 404; makefile: 27; 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 %}
]