HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-310.pyc
o

��i��@sDdZddlmZGdd�de�ZGdd�de�ZGdd�de�Zd	S)
zb
The cache object API for implementing caches. The default is a thread
safe in-memory dictionary.
�)�Lockc@s.eZdZdd�Zd
dd�Zdd�Zdd	�ZdS)�	BaseCachecC�t���N��NotImplementedError��self�key�r�I/usr/local/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py�get�z
BaseCache.getNcCrrr�r	r
�value�expiresrrr�setrz
BaseCache.setcCrrrrrrr�deleterzBaseCache.deletecCsdSrr)r	rrr�closeszBaseCache.closer)�__name__�
__module__�__qualname__r
rrrrrrrrs

rc@s0eZdZd
dd�Zdd�Zd
dd�Zdd	�ZdS)�	DictCacheNcCst�|_|pi|_dSr)r�lock�data)r	�	init_dictrrr�__init__szDictCache.__init__cCs|j�|d�Sr)rr
rrrrr
!sz
DictCache.getcCs<|j�|j�||i�Wd�dS1swYdSr)rr�updaterrrrr$s"�z
DictCache.setcCsR|j�||jvr|j�|�Wd�dSWd�dS1s"wYdSr)rr�poprrrrr(s
�"�zDictCache.deleter)rrrrr
rrrrrrrs


rc@s eZdZdZdd�Zdd�ZdS)�SeparateBodyBaseCacheag
    In this variant, the body is not stored mixed in with the metadata, but is
    passed in (as a bytes-like object) in a separate call to ``set_body()``.

    That is, the expected interaction pattern is::

        cache.set(key, serialized_metadata)
        cache.set_body(key)

    Similarly, the body should be loaded separately via ``get_body()``.
    cCrrr)r	r
�bodyrrr�set_body:rzSeparateBodyBaseCache.set_bodycCr)z6
        Return the body as file-like object.
        rrrrr�get_body=szSeparateBodyBaseCache.get_bodyN)rrr�__doc__r!r"rrrrr.srN)r#�	threadingr�objectrrrrrrr�<module>s