o
    /=j0  ã                   @  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   ú^C:\Users\psant\Downloads\Anu Raj Backend\school\venv\Lib\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   Zcachecontrol.adapterr   Zcachecontrol.cacher   Úrequestsr   Zcachecontrol.controllerr   Zcachecontrol.heuristicsr	   Zcachecontrol.serializer
   r    r   r   r   r   Ú<module>   s$   ø