o
    ¦LDi  ã                   @  sL   d dl mZ d dlZd dlmZmZ erd dlmZ edƒZdddd„Z	dS )é    )ÚannotationsN)ÚTYPE_CHECKINGÚTypeVar)ÚCallableÚTé€   FÚmaxsizeÚintÚtypedÚboolÚreturnúCallable[[T], T]c                   s   d‡ ‡fdd„}|S )z“
    fix: lru_cache annotation doesn't work with a property
    this hack is only needed for the property, so type annotations are as they are
    Úfuncr   r   c                   s   t  ˆ ˆ¡| ƒS )N)Ú	functoolsÚ	lru_cache)r   ©r   r
   © úd/var/www/www-root/data/www/77.83.87.30/venv/lib/python3.10/site-packages/aiogram/utils/mypy_hacks.pyÚwrapper   s   zlru_cache.<locals>.wrapperN)r   r   r   r   r   )r   r
   r   r   r   r   r      s   r   )r   F)r   r	   r
   r   r   r   )
Ú
__future__r   r   Útypingr   r   Úcollections.abcr   r   r   r   r   r   r   Ú<module>   s    