{% import 'keywords.jinja2' as keywords %}
# coding=utf-8
{% if code_model.license_header %}
{{ code_model.license_header }}
{% endif %}
{{ keywords.path_type_checking_imports() }}
{% if schemas %}

from .{{ code_model.models_filename }} import (  # type: ignore
    {% for schema in schemas %}
    {{ schema }},
    {% endfor %}
)
{% elif has_models %}

from . import _models
{% endif %}
{% if enums %}

from .{{ code_model.enums_filename }} import (  # type: ignore
{% for enum in enums %}
    {{ enum }},
{% endfor %}
)
{% elif has_enums %}

from . import _enums
{% endif %}
{{ keywords.patch_imports() }}
__all__ = [
    {% for schema in schemas %}
    '{{ schema }}',
    {% endfor %}
    {% if enums %}
    {% for enum in enums %}
    '{{ enum }}',
    {% endfor %}
{% endif %}
]
{{ keywords.extend_all }}
_patch_sdk()
