o
    ÖèFh0  ã                   @  sŽ   d dl mZ d dlmZmZ d dlmZ d dlmZ er8d dl	Z	d dlm
Z
 d dlmZ d dlmZ d d	lmZ 		
					dddd„ZdS ) é    )Úannotations)ÚTYPE_CHECKINGÚ
Collection)ÚCacheControlAdapter)Ú	DictCacheN)Ú	BaseCache)ÚCacheController)ÚBaseHeuristic)Ú
SerializerTÚsessúrequests.SessionÚcacheúBaseCache | NoneÚcache_etagsÚboolÚ
serializerúSerializer | NoneÚ	heuristicúBaseHeuristic | NoneÚcontroller_classútype[CacheController] | NoneÚadapter_classú type[CacheControlAdapter] | NoneÚcacheable_methodsúCollection[str] | NoneÚreturnc           	      C  sJ   |d u rt ƒ n|}|pt}|||||||d�}|  d|¡ |  d|¡ | S )N)r   r   r   r   r   zhttp://zhttps://)r   r   Úmount)	r   r   r   r   r   r   r   r   Úadapter© r   úM/var/www/html/loop/nvenv/lib/python3.10/site-packages/cachecontrol/wrapper.pyÚCacheControl   s   
úr    )NTNNNNN)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )Ú
__future__r   Útypingr   r   Úcachecontrol.adapterr   Úcachecontrol.cacher   Úrequestsr   Úcachecontrol.controllerr   Úcachecontrol.heuristicsr	   Úcachecontrol.serializer
   r    r   r   r   r   Ú<module>   s$   ø