
    G˝i                    R    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Z	y)	    )annotationsN)TYPE_CHECKINGTypeVar)CallableTc                     d f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
    c                <     t        j                        |       S )N)	functools	lru_cache)funcmaxsizetypeds    Q/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/utils/mypy_hacks.pywrapperzlru_cache.<locals>.wrapper   s    2y""7E2488    )r   r   returnr    )r   r   r   s   `` r   r   r      s    9 Nr   )   F)r   intr   boolr   zCallable[[T], T])

__future__r   r
   typingr   r   collections.abcr   r   r   r   r   r   <module>r      s"    "  )(CL	r   