a
    y{Jh±  ã                   @   sB   d dl Z d dlmZmZ edƒZd	eeeegef dœdd„ZdS )
é    N)ÚCallableÚTypeVarÚTé€   F)ÚmaxsizeÚtypedÚreturnc                    s   t t 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   c                    s   t  ˆ ˆ¡| ƒS )N)Ú	functoolsÚ	lru_cache)r	   ©r   r   © úJ/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/utils/mypy_hacks.pyÚwrapper   s    zlru_cache.<locals>.wrapper)r   )r   r   r   r   r   r   r      s    r   )r   F)r
   Útypingr   r   r   ÚintÚboolr   r   r   r   r   Ú<module>   s   