def raise_for_invalid_amount_of_enclosed_types(
    full_name, _type, inner_type, more_types
) -> None:
    """Decided to consider only the first enclosed type
    which means list[T] is allowed, but list[T, T] not
    This is subject to change in future.
    """
    if more_types:
        raise ex.DynaconfSchemaError(
            f"Invalid enclosed type for {full_name} "
            "enclosed types supports only one argument "
            f"{ut.get_type_name(_type)}[{ut.get_type_name(inner_type)}] "
            "is allowed, but this error is caused by "
            f"`{full_name}: {ut.get_type_name(_type)}"
            f"[{ut.get_type_name(inner_type)}, "
            f"{', '.join(ut.get_type_name(i) for i in more_types)}]`"
        )
Decided to consider only the first enclosed type
    which means list[T] is allowed, but list[T, T] not
    This is subject to change in future.
    
dynaconf/typed/guards.py