o
    ÎCâhÝ  ã                   @  s   d dl mZ ddd„ZdS )é    )ÚannotationséÈ   c                 C  s,   |d u r| rt d dd„ | D ƒ¡ƒS |S |S )Nú,c                 S  s   g | ]\}}t |ƒ‘qS © )Ústr)Ú.0ÚkeyÚlabelr   r   úh/var/www/html/myvaluetrips/my_value_trip_new/venv/lib/python3.10/site-packages/multiselectfield/utils.pyÚ
<listcomp>   s    z"get_max_length.<locals>.<listcomp>)ÚlenÚjoin)ÚchoicesÚ
max_lengthÚdefaultr   r   r
   Úget_max_length   s
   r   N)r   )Ú
__future__r   r   r   r   r   r
   Ú<module>   s   