{% if lists_to_generate %}
from orchestrator.domain.base import SubscriptionInstanceList

T = TypeVar("T", covariant=True)

{% for list_type in lists_to_generate %}
ListOf{{ list_type.name | capitalize }} = Annotated[Sequence[SI], Len(min_length={{ list_type.min_items }}{% if list_type.max_items -%}, max_length={{ list_type.max_items }}{% endif %})]
{% endfor %}
{% endif -%}
