o
    !2g                     @   s$   d d Z ddlmZ edd ZdS )c                  O   sJ   zddl }W n ty   ddl}|d dd  Y S w |j | i |S )zl
    Stands for 'Maybe cachew'.
    Defensive wrapper around @cachew to make it an optional dependency.
        Nzrcachew library not found. You might want to install it to speed things up. See https://github.com/karlicoss/cachewc                 S   s   | S )N )	orig_funcr   r   D/home/garg/my-data/venv/lib/python3.10/site-packages/cachew/extra.py<lambda>   s    zmcachew.<locals>.<lambda>)cachewModuleNotFoundErrorwarningswarn)argskwargsr   r   r   r   r   mcachew   s   
r   r   )contextmanagerc                  c   s6    ddl m}  | j}zd| _d V  W || _d S || _w )N   )settingsF) r   ENABLE)r   origr   r   r   disabled_cachew   s   r   N)r   
contextlibr   r   r   r   r   r   <module>   s   